Remove all attributes
<p>Is it possible to remove all attributes at once using jQuery?</p>

<pre><code>&lt;img src="example.jpg" width="100" height="100"&gt;
</code></pre>

<p>to</p>

<pre><code>&lt;img&gt;
</code></pre>

<p>I tried <code>$('img').removeAttr('*');</code> with no luck. Anyone?</p>
