removeAttribute do not return true or false
<p>I am trying  to remove attributes of a  DOM element using below statement in javascript.</p>

<pre><code>var res = nodes.removeAttribute("style");
</code></pre>

<p>but the res is always "undefined" it seems that the  removeAttribute function does not return anything (I tested it on firefox browser)</p>

<p>How can I identify that the attribute is successfully removed or not ?</p>

<p>Thanks,
Sourabh</p>
