Element.removeAttribute

Removes an attribute by name. If a default value for the removed attribute is defined in the DTD, a new attribute immediately appears with the default value as well as the corresponding namespace URI, local name, and prefix when applicable. To remove an attribute by local name and namespace URI, use the removeAttributeNS method.

interface Element
void
removeAttribute
(
DOMString name
)

Meta