TOC PREV NEXT INDEX

domref



images


images returns a list of the images in the current document.

Syntax

image_list = document.images
 

Parameters

image_list is a nodeList of all the IMG elements in the document.

Example

ilist = document.images;
 
for ( var i = 0; i < ilist.length; i++ ) {
 
    if ( ilist[i] == "banner.gif" ) {
 
         // found the banner
 
    }
 
}
 

Notes

None.

Specification

images
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX