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

Right column

CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info