Javascript Reference
Categories: attributes

javascript attributes getNamedItemNS( )

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

getNamedItemNS("namespaceURI", "localName")

  

Returns a single Attr object with a local name and namespace URI that match the parameter values.

 
Parameters
 
namespaceURI

URI string matching a URI assigned to a label earlier in the document.

localName

The local name portion of the attribute.

 
Returned Value

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


Powered by Linode.