<image> onLoaded not firing.

29 views
Skip to first unread message

WaXJ

unread,
Oct 22, 2012, 3:21:12 PM10/22/12
to svg...@googlegroups.com
Hi,
 
if I do the following :

 

var image = document.getElementById( "wert" );

image.addEventListener("load", function(evt){alert("s");}, false );

 

Now, if I replace "load" with "clicked" the alert("s") is executed. If the "load" event is not supported on <image> tags then how can I know when such a tag has finished loading the image it links to?

Reply all
Reply to author
Forward
0 new messages