LinkArray.length (Property)

The number of HREF links in the current document.

Availability:

JavaScript - 1.0
JScript - 3.0
Internet Explorer - 4.0
Netscape - 2.0
Property/method value type:Number primitive
JavaScript syntax:-myDocument.links.length

The length of the links array, which indicates the number of <A> and <AREA> tags that contain HREF attributes in the document.

See also:Collection.length, Document.links[], Url.name

Property attributes:

ReadOnly.