Move an item from one div to another and back again using jquery
<pre><code>&lt;div id=i1&gt;&lt;span id=e1&gt;Item 1&lt;/span&gt;&lt;/div&gt;
&lt;div id=i2&gt;&lt;span id=e2&gt;Item 2&lt;/span&gt;&lt;/div&gt;
</code></pre>

<p>When I click on Item 1 it should be deleted and moved to i2 and when I click on Item 1 again it must go back to i1</p>

<p>Yes, I tried <code>append()</code>, it goes to i2, but on clicking again it does not move back to i1</p>

<p>How do I get to do it.</p>

<p>Thanks
Jean</p>
