How to 'copy and paste' an element in jQuery?
<p>I'm making a simple lightbox. If you click on an image, it takes that image and shows it full screen with a black background behind it.</p>

<p>Here is my code:</p>

<pre><code>$('.theContent img').live('click', function(e) {
    var lbImg = $(this);
    $('#lb').toggle();
    $('#lb').find("#lbImg").append(lbImg);           

)
</code></pre>

<p>Thing is, it takes away the variable lbImg and puts it in the lightbox. I dont want that, i just want to copy that bit of info and duplicate, rather than reposition. How would you go about that?</p>
