change() function works and detects changes on form elements, but is there a way of detecting when a DOM element\'s content was changed?
change()
This does not w
what about http://jsbin.com/esepal/2
$(document).bind("DOMSubtreeModified",function(){ console.log($('body').width() + ' x '+$('body').height()); })
This event has been deprecated in favor of the Mutation Observer API