removeAttributeNode method

Attr removeAttributeNode(
  1. Attr attr
)

The removeAttributeNode() method of the Element interface removes the specified Attr node from the element.

If you don't need to inspect the attribute node before removing it, you can use the Element.removeAttribute method instead.

Implementation

external Attr removeAttributeNode(Attr attr);