You are here: irt.org | FAQ | JavaScript | Image | Q1405 [ previous next ]
Yes: complete
Supported since Netscape Navigator 3 - yet in Netscape Navigator 4 - "provides an incorrect true reading before the image has completely loaded"
You can create your own image complete property though:
<img name="myImage" src="test.gif" onLoad="this.myComplete=true"> <form> <input type="button" value="test" onClick="if (document.myImage.myComplete) alert('image loaded'); else alert('image not loaded')"> </form>