|Property/method value type:||Boolean primitive|
|Argument list:||aCaseSense||A flag indicating whether lookup is case sensitive or not|
|anAttribName||An attribute of an Element object|
This is an accessor method which is used to remove named attributes of an Element object. Attributes are not properties in the strict sense of the word but may be accessible as if they were in some implementations. They are gathered together into an Attributes collection which you can access like any other Array or Collection object to retrieve the individual Attribute objects. The accessor methods provide some additional modes of access for convenience.
This accessor is intended to provide a means of managing custom attributes.
If the false value is returned, it may mean that either the attribute did not exist and could not be removed or that the attribute was locked in some way preventing it from being removed. The true value returned by this method indicates the attribute was successfully removed.
Note also that you can only remove attributes that were added with the setAttribute() method. Some attributes may have been added by the browser and may not be removed by scripts.
Note that the DOM level 1 standard defines this method as returning no meaningful value. Other implementations may concur so you should not rely on the value being returned.
However, Netscape 6.0 and MSIE 5.5 do return a meaningful value.