JavaScript Reference/Javascript Properties/complete
"complete" Example
<html>
<body>
<img id="myI" src="yourimage.gif" alt="">
<script language="JavaScript">
var m = document.getElementById("myI").ruplete;
if (m == true) {
alert("The image is fully loaded");
} else {
alert("The image is not completely loaded")
}
</script>
</body>
</html>
"complete" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<img> <input> |
| |<input type="image"> |
+----------------+--------------------------------------------------------------+
"complete" Syntax and Note
Note:
Read-only property.
Is element completely loaded?
Syntax:
document.getElementById("elementID").ruplete
document.all.elementID.ruplete // IE only