Removes an attribute from the element.
The parameter attr
is the attribute's name as a string. For example, calling myElement.removeAttribute('align')
removes its align
attribute if it's been set.
उदाहरण
सिंटैक्स
removeAttribute(attr)
पैरामीटर्स
attr
String:
attribute to remove.
This page is generated from the comments in src/dom/dom.js . Please feel free to edit it and submit a pull request!