AvailabilityDOM Level 1 Core SynopsisAttr removeAttributeNode(Attr oldAttr) throws DOMException; Arguments
ReturnsThe Attr node that was removed. ThrowsThis method may throw a DOMException with the following code values:
DescriptionThis method removes (and returns) an Attr node from the set of attributes of an element. If the removed attribute has a default value specified by the DTD, a new Attr is added representing this default value. If is often simpler to use removeAttribute( ) instead of this method. See AlsoAttr, Element.removeAttribute( ) |