javascript document images[ ]
| images[ ] | NN 2 IE 3 DOM 1 |
|
Read-only |
Returns an array of all img element objects (exclusive of pre-cached images loaded via the new Image( ) constructor) in the current document. Items in this array are indexed (zero-based) in source code order, and may be accessed by number or by string name. The presence of this property indicates support for live, swappable images. |
|
| Example | |
document.images["home"].src = "images/homeHilite.jpg"; |
|
| Value | |
Array of img objects. |
|
| Default | |
Array of zero length. |
|
Previous: javascript document implementation
556,Nickname,Homepage or email,Comments here,Add comment
