| Availability: |
| |||
| Inherits from: | Element object | |||
| JavaScript syntax: | IE | myA = myDocument.all.anElementID | ||
| IE | myA = myDocument.all.tags("A")[anIndex] | |||
| IE | myA = myDocument.all[aName] | |||
| IE | myA = myDocument.anchors.item(aName)[anIndex] | |||
| - | myA = myDocument.anchors[aName] | |||
| - | myA = myDocument.anchors[anIndex] | |||
| - | myA = myDocument.getElementById(anElementID) | |||
| - | myA = myDocument.getElementsByName(aName)[anIndex] | |||
| - | myA = myDocument.getElementsByTagName("A")[anIndex] | |||
| IE | myA = myDocument.links.item(aName)[anIndex] | |||
| - | myA = myDocument.links[aName] | |||
| - | myA = myDocument.links[anIndex] | |||
| HTML syntax: | <A> ... </A> | |||
| Argument list: | anIndex | A reference to an element in a collection | ||
| aName | An associative array reference | |||
| anElementID | The ID value of an Element object | |||
| Object properties: | accessKey, dataFld, dataSrc, hash, host, hostname, href, Methods, mimeType, nameProp, pathname, port, protocol, protocolLong, rel, search, tabIndex, target | |||
| Event handlers: | onBlur, onClick, onDblClick, onFocus, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart | |||
| See also: | Element object, Input.accessKey, Map object |
| Property | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| accessKey | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | 1 ![]() | ![]() | ![]() | - |
| dataFld | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| dataSrc | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| hash | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| host | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| hostname | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| href | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | 1 ![]() | ![]() | ![]() | - |
| Methods | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| mimeType | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| nameProp | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| pathname | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| port | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| protocol | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| protocolLong | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| rel | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| search | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| tabIndex | 1.5 ![]() | 3.0 ![]() | 6.0 ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | 1 ![]() | ![]() | ![]() | - |
| target | ![]() | 1.0 ![]() | ![]() | 3.02 ![]() | ![]() | ![]() | ![]() | 1 ![]() | ![]() | ![]() | - |
| Event name | JavaScript | JScript | N | IE | Opera | NES | ECMA | DOM | CSS | HTML | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| onBlur | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| onClick | ![]() | 1.0 ![]() | ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onDblClick | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onFocus | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| onHelp | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| onKeyDown | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onKeyPress | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onKeyUp | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseDown | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseMove | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseOut | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseOver | ![]() | 1.0 ![]() | ![]() | 3.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onMouseUp | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | 4.0 ![]() | ![]() |
| onSelectStart | ![]() | 3.0 ![]() | ![]() | 4.0 ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | - |
| Prev | Home | Next |
| A | Up | ABBR object |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||