javascript A Description
| a | NN 6 IE 4 DOM 1 | |||||||||||||||||||||||||||||||||||||||||||
|
The a object reflects the a element, regardless of whether the element is set up to be an anchor, link, or both. Early versions of Navigator and Internet Explorer treat this object only as a member of the links[] and/or anchors[] arrays of a document. Starting with IE 4 and Netscape 6, you can access the object through supported element object reference syntax (e.g., the document.all[] collection for IE or document.getElementById() for IE 5 and later and Netscape 6). |
||||||||||||||||||||||||||||||||||||||||||||
| HTML Equivalent | ||||||||||||||||||||||||||||||||||||||||||||
<a> |
||||||||||||||||||||||||||||||||||||||||||||
| Object Model Reference | ||||||||||||||||||||||||||||||||||||||||||||
[window.]document.links[i]
[window.]document.anchors[i]
[window.]document.getElementById("elementID")
|
||||||||||||||||||||||||||||||||||||||||||||
| Object-Specific Properties | ||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
| Object-Specific Methods | ||||||||||||||||||||||||||||||||||||||||||||
None. |
||||||||||||||||||||||||||||||||||||||||||||
| Object-Specific Event Handler Properties | ||||||||||||||||||||||||||||||||||||||||||||
Anchor-only a objects have no event handlers in Navigator through Version 4. |
||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||
Previous: javascript A accessKey
166,Nickname,Homepage or email,Comments here,Add comment
