jquery.domChanged

I’ve just uploaded a new jquery plugin to github.

It’s a little plugin that allows you to bind a ‘domChanged’ event on any element. Works cross browser by using ‘MutationObserver’ for modern browsers and a polling mechanism for older browsers (IE). If you completely control the DOM on your page then this probably would be of no use. It’s only really useful if you know a 3rd party script (an ad maybe) is going to change a part of your page but you have no means of knowing when it will have finished.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *