Remove elements from div
<p>I wonder how do I always remove the last element of the div until there is only one element, the code follows below.
I'm already able to do so later add it now is missing remove.</p>

<pre><code>$("#add").click(function()
 {
     $("#divparent").append($("#divchild").html());
 });
$("#remove").click(function()
{
   //new code
});
</code></pre>

<p>
</p>

<pre><code>        &lt;div id="divparent"&gt;
            &lt;div id="divchild"&gt;
                &lt;asp:DropDownList ID="DropDownList3" runat="server" Width="270"&gt;&lt;/asp:DropDownList&gt;
            &lt;/div&gt;
        &lt;/div&gt;
</code></pre>
