The removeAttribute MethodAs you can guess from its name , the removeAttribute method enables you to remove an attribute from an element. You can see the support for this method in Table 6.36. Table 6.36. The removeAttribute Method
Here, attribute is the name of the attribute you want to remove when you invoke this method on an element object, and if the case argument is present and set to true, the browser will search for that attribute in a case-sensitive way. The Internet Explorer returns true if the attribute was removed, and false otherwise . The Netscape Navigator version of this method does not return any value. |