how to copy the content of a div to another div
<p>I'm trying to copy the single element inside a selected div to another div with jquery. But with my code copies entire division to another division..</p>

<p>My code is :</p>

<pre><code>$('#image').html($('#selected').html());  //which copies entire content of #selected division
</code></pre>

<p>And the division is:</p>

<pre><code>&lt;div class="imgs" id="selected"&gt;
&lt;img width="100%" height="100%" data-id="1" data-alid="1" src="data:image/jpeg;base64,"&gt;
&lt;div class="xyz"&gt;&lt;a href="#"&gt;Xyz&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>I need to copy only the <code>img</code> from the <code>div</code> <code>imgs</code></p>

<p>Please anyone help me ... Thanks....</p>
