• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Section A.2. Objects, Methods, and Properties

A.2. Objects, Methods, and Properties

This section itemizes JavaScript objects by description, compatibility, properties, and methods.

A.2.1. Anchor

A place in a document that is the target of a hypertext link. Using the HTML A tag or calling the String.anchor method, the JavaScript runtime engine creates an Anchor object corresponding to each A tag in your document that supplies the NAME attribute. It puts these objects in an array in the document.anchors property. You access an Anchor object by indexing this array.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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