Javascript Reference
Categories: A

javascript A name

@March 15, 2008, 1:22 a.m.

name Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

Read/Write  

This is the identifier associated with an element that turns it into an anchor. You can also use the name as part of the object reference.

 
Example
 
if (document.links[12].name == "section3") {
    ...
}
 
Value

Case-sensitive 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.


Powered by Linode.