javascript options namedItem( )

namedItem( ) NN 6 IE 6 DOM 1  

namedItem("ID")

  

Returns a single option object corresponding to the element matching the parameter string value.

 
Parameters
 
  • The string that contains the same value as the desired element's id attribute.
 
Returned Value

One option object. If there are no matches to the parameters, the returned value is null.


1571,Nickname,Homepage or email,Comments here,Add comment