org.w3c.dom.Element.removeAttributeNode
method
public removeAttributeNode(oldAttr as Attr) as Attr throws DOMException
Description

Removes an attribute node.

Parameters
  • oldAttr Attribute node to remove.
Returns

Removed attribute node.

Throws
  • DOMException if the attribute is not attached.
Example
element.removeAttributeNode(attr)