Mega Code Archive
Categories
/
JavaScript Reference
/
Javascript Collections
Anchors Syntax Parameters and Note
Note: Returns an array of all
elements in the document. Syntax: document.anchors // returns all anchors document.anchors(param1, param2) // returns an individual anchor param1 Required; zero-based index or desired member's id or name attribute. param2 Optional; zero-based index for the result returned if param1 matches more than one element.