How to insert a div after another jquery
<p>I have a div in html page:</p>

<pre><code>&lt;div id="home"&gt;
&lt;/div&gt;
</code></pre>

<p>Now I want to put another div under the div with id=home. I mean under the other div:</p>

<pre><code>&lt;div id="home"&gt;
&lt;/div&gt;
&lt;div id="new"&gt;
&lt;/div&gt;
</code></pre>

<p>This is my jquery code:</p>

<pre><code>var div=$('div');
var sopra=$('#home');
sopra.append(div);
</code></pre>

<p>But this code is wrong because put the new div in the div with <code>id=home</code>. </p>

<p>Anyone can help me?</p>