Categories:

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

Partners
Right column

CopyRight 1998-2014 JavaScript Kit. NO PART may be reproduced without author's permission.