Mega Code Archive

 
Categories / JavaScript Reference / Javascript Collections
 

Links Syntax Parameters and Note

Note: Returns an array of all links in both the <a> and <area> elements in a document.      Syntax:      document.links // returns all links document.links(param1) // returns an individual link Parameters:     param1   Required; the zero-based index