Javascript Reference
Categories: all

javascript all namedItem( )

@March 15, 2008, 1:22 a.m.
namedItem( )Firefox/Netscape/NN n/a IE 6 Chrome/Safari/DOM n/a  

namedItem(IDOrName)

  

Returns a single object or collection of objects corresponding to the element matching the parameter string value.

 
Parameters
 
IDOrName

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

 
Returned Value

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


Powered by Linode.