How do you duplicate a div tag?
<p>How can I duplicate  the <code>#DvRefer</code> element with its contents when the user clicks on the <code>#Duplicate</code> button?</p>

<pre><code>&lt;div id='DvRefer'&gt;
    &lt;div style="float: right; margin-right: 5px; margin-top: 8px;"&gt;name:&lt;/div&gt;
    &lt;select id="LstRefer" runat="server" style="margin-top: 8px; margin-right: 14px;float: right; margin-left: 8px; width: 205px;"&gt;
    &lt;/select&gt;
&lt;/div&gt;
&lt;div style="clear:both"&gt;&lt;/div&gt;
&lt;div style="text-align: left"&gt;
    &lt;input id="Duplicate" type="button" runat="server" value="Duplicate" class="buttons" /&gt;
&lt;/div&gt;                                     
</code></pre>
