Javascript Reference
Categories: links

javascript links namedItem( )

@July 28, 2008, 4:51 a.m.
namedItem( ) Firefox/Netscape/NN 6 IE 6 Chrome/Safari/DOM 1  

namedItem(IDOrName)

  

Returns a single link object (in Netscape 6) or collection of link objects corresponding to the element matching the parameter string value.

 
Parameters
 
IDOrName

The string that contains the same value as the desired element's id or name attribute.

 
Returned Value

One object (in Netscape 6) or collection (array) of objects. If there are no matches to the parameters, the returned value is null.


Powered by Linode.