Name

Document.links[] — the Link objects in a document

Availability

JavaScript 1.0

Synopsis

                  document.links document.links.length

Description

The links property is an array of Link objects -- one object for each hypertext link that appears in document. The links[] array has links.length elements, numbered from zero to links.length-1.

See Also

Link

Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.