PDA

View Full Version : detect when an image is loaded


aneuryzma
07-03-2009, 11:16 AM
Hi,

is there any way to know when a browser has completely loaded an image ?

In case of slow connections I need to trigger my function only when an image is completely loaded.

thanks

Mickel-M
07-05-2009, 07:03 AM
<img src="src" onload="function" />

Something like that, I think.