Next / Previous / Contents / TCC Help System / NM Tech homepage

7.4. Element.removeAttributeNS()

Use this method to remove an attribute from an element E.

E.removeAttributeNS(nsURI, attName)

If E has an attribute in namespace nsURI whose name matches attName, and that attribute has a default value, the attribute is replaced by the default value. If there is a matching attribute without a default value, the attribute is removed from E.