Comments on: Monitoring DOM properties https://j11y.io/javascript/monitoring-dom-properties/ Sun, 22 Mar 2015 15:39:22 +0000 hourly 1 https://wordpress.org/?v=5.0.13 By: James https://j11y.io/javascript/monitoring-dom-properties/#comment-1040 Sat, 26 Sep 2009 10:30:45 +0000 https://j11y.io/?p=956#comment-1040 @Motty, unfortunately, the “DOMSubtreeModified” event is not supported in Opera, IE or FF2.

]]>
By: Motty https://j11y.io/javascript/monitoring-dom-properties/#comment-1039 Sat, 26 Sep 2009 02:25:59 +0000 https://j11y.io/?p=956#comment-1039 Opps the wonderful site I was referring to is http://stackoverflow.com/

]]>
By: Motty https://j11y.io/javascript/monitoring-dom-properties/#comment-1038 Sat, 26 Sep 2009 02:24:52 +0000 https://j11y.io/?p=956#comment-1038 I’ve discovered a wonderful site to help me with my scripting questions and I think I found a nice solution for monitoring DOM properties that I wanted to share.

Basically it uses jQuery bind function as follows:

 $(element).bind("DOMSubtreeModified",function(){
  // check if the property you are watching has changed
  // Do something
 })
]]>
By: Elijah Grey https://j11y.io/javascript/monitoring-dom-properties/#comment-1037 Fri, 17 Jul 2009 22:41:55 +0000 https://j11y.io/?p=956#comment-1037 Using timers is an interesting solution.

I have implemented object.(un)?watch using accessors that works in every current browser; http://code.eligrey.com/object.watch/latest/object-watch.js

]]>