Programmer's Guide > Interfaces > W3C Element interface > removeAttributeNS method
  
removeAttributeNS method
Removes an attribute by local name and namespace URI. If the removed attribute has a default value it is immediately replaced. The replacing attribute has the same namespace URI and local name, as well as the original prefix.
HTML-only DOM implementations do not need to implement this method.
removeAttributeNS(namespaceURI, localName )
Parameters
StringnamespaceURI
The namespace URI of the attribute to remove.
StringlocalName
The local name of the attribute to remove.
Returns
void
Throws
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.