dcsimg

How can I detect when an image has fully loaded from JavaScript?

Jayesh Nazre

Using the onload function for the IMG tag

<IMG onload=imageloaded() src="xyz.gif">