removeAttributeNS method

void removeAttributeNS(
  1. String? namespace,
  2. String localName
)

The removeAttributeNS() method of the Element interface removes the specified attribute with the specified namespace from an element.

If you are working with HTML and you don't need to specify the requested attribute as being part of a specific namespace, use the Element.removeAttribute method instead.

Implementation

external void removeAttributeNS(
  String? namespace,
  String localName,
);