Javascript Reference
Categories: attributes

javascript attributes removeNamedItem( )

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

removeNamedItem("attributeName")

  

Removes from the collection a single Attr object corresponding to the attribute whose node name matches the parameter value.

 
Parameters
 
attributeName

String corresponding to the name portion of an attribute's name/value pair.

 
Returned Value

Reference to the removed Attr object. If there is no match to the parameter value, the returned value is null.


Powered by Linode.