Image.onload() Handler
Name
Image.onload() Handler---invoked when image finishes loading
Synopsis
<IMG SRC="url"
onLoad="handler" a definition of the handler
...>
image.onload a reference to the handler
image.onload(); an explicit invocation of the handler
onload() is an event handler invoked when the
browser successfully finishes loading the image specified by
an <IMG> tag. This event handler is defined by the
onLoad attribute of an <IMG> tag. The value
of this attribute may be any number of JavaScript
statements, separated by semicolons; these statements will
be executed when the image is completely loaded.
Image.onerror()
Image.src
file: /Techref/language/java/script/definitive/refp_172.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月17日 01:24,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/techref/language/java/script/definitive/refp_172.htm"> [Chapter 21] Reference: Image.onload()</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.