JavaScript Kit > JavaScript Reference > Here
Anchor Object
Last updated: June 20th, 2004
Anchors are defined in HTML with the tag <a name="name">, and represented in JavaScript via the Anchor object. The syntax for accessing an anchor is:
document.anchors[i] //where i is the position of the anchor within all the anchors on the page
Properties
| Properties | Description |
|---|---|
| name | A string specifying the anchor's name. |
Reference List
- JavaScript Operators
- JavaScript Statements
- Global functions
- JavaScript Events
- Escape Sequences
- Reserved Words
- Ajax (XMLHttpRequest)
- Anchor
- Applet
- Area
- Array
- Boolean
- Date
- Document
- Event
- Form
- Reset
- Frame
- Function
- History
- Image
- JSON object
- Link
- Location
- Math
- Navigator
- Number
- Object
- RegExp
- Screen
- String
- Style
- window
Partners
Right column
