JQuery - event when the node attribute changes

I have a web page with an external javascript library and my own add-on code. The external library cannot be modified. It manages dom elements, adds new ones, changes attributes (for example, srcon some nodes <img>, etc.). I am using jQuery. Is there any event handler that fires when the value of the node attribute changes?

i.e. is there anyway I can detect (in jQuery) when srcof is <img>changed (by someone else?)

+5
source share
2 answers

, , onload . , .

$("img").load( function(){ alert('loaded'); } );
+3

All Articles