Image.name PropertyNameImage.name Property---the name of an imageAvailabilityNavigator 3.0 Synopsis
image.name Descriptionname is a read-only string property of the Image object. Its value is specified by the NAME attribute of the HTML <IMG> tag that creates the Image object. Image objects created with the Image() constructor function do not have names, and cannot have names assigned. UsageImages created in an HTML document with the <IMG> tag are listed in the document.images[] array in JavaScript. If an image is given a name, then the image is also stored in a property with that name in the document object. For example, an image with the attribute:
NAME="toggle_button"
document.toggle_button |
|