• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

document.anchors

JavaScript 1.2+, JScript 3.0+ Nav4+, IE 4+ Syntax

document.anchors
document.anchors[index]

Description

The anchors property is an array that contains all the Anchor objects that appear within the HTML document from using the <a name=" string "> tag. The anchors property has one property of its own, called length, which contains the number of Anchor objects in the array. The index number ranges from zero to the length of the array minus 1. See "Anchor," earlier in the chapter, for a detailed explanation of all the properties associated with anchors.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint