TOC PREV NEXT INDEX

Put your logo here!


anchors


anchors returns a list of all of the anchors in the document.

Syntax

a_list = document.anchors 

Parameters

a_list is a nodeList of all of the anchor elements within the document

Example

if ( document.anchors.length >= 5 ) { 
    dump("dump found too many anchors"); 
    window.location = "http://www.getoutahere.com"; 
} 
 

Notes

None.

Specification

html


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX