javascript IMG name

nameNN 2 IE 3 DOM 1  

Read/Write  

This is the identifier associated with the image object for use in scripted references to the object.

 
Example
 
var imgName = document.images[3].name;
 
Value

Case-sensitive string identifier that follows the rules of identifier naming: it may contain no whitespace, cannot begin with a numeral, and should avoid punctuation except for the underscore character.

 
Default

None.


991,Nickname,Homepage or email,Comments here,Add comment