Rechange ID with Javascript
<p>Hello:) Im a javascript newbie and I'm trying to change a div ID with a script.
I have a div with the id "change", and onClick I would like to change the ID "changed", and that I could do, but I would like to click again, and it will return to receive the ID "change". Can you help me?</p>

<p>This is how I did:</p>

<pre><code>&lt;script&gt; 
$document.ready( function() {
       $("#change").attr('id','changed');
});
});
</code></pre>

<p>Thanx. </p>
