Javascript Reference
Categories: HTMLCollection

javascript HTMLCollection namedItem( )

@Aug. 28, 2008, 3:59 p.m.
namedItem( ) Firefox/Netscape/NN 6 IE 5(Mac)/6(Win) Chrome/Safari/DOM 1  

namedItem(IDOrName)

  

Returns one object from the collection corresponding to the object matching the parameter string value.

 
Parameters
 
  • The string that contains the same value as the desired filter's name.
 
Returned Value

Reference to an element object. If there are no matches to the parameters, the returned value is null.


Powered by Linode.