JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Document.anchors[] Property

Name

Document.anchors[] Property---the Anchors in a document

Availability

Implemented but nonfunctional in Navigator 2.0, 3.0, and Internet Explorer 3.0

Synopsis

document.anchors
document.anchors.length

Description

The anchors property is an array of Anchor objects, one for each anchor that appears in document. An anchor is a named position within the document, which can serve as the target of a hypertext link. The anchors[] array has anchors.length elements, numbered from zero to anchors.length-1.

This property has not yet been fully implemented; see the Anchor object for more information.

Do not confuse anchors with hypertext links, which are represented, in JavaScript, by the Link objects in the Document.links[] array.

See Also

"Anchor", "Document", "Document.links[]", "Link"


Previous Home Next
Document.alinkColor Book Index Document.applets[]

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell