Element.removeAttributeNode() (Method)

Removes an attribute node from the element hierarchy. If the attribute has a default value, that will be used subsequently.


DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:Attribute object
JavaScript syntax:-myElement.removeAttributeNode(anAttribute)
Argument list:anAttributeAn attribute object to be removed

See also:Attribute object