title: jQuery Append element from iframe to it's body parent window.
body: <p>I have 
  <code>elm.appendTo('#wrap');</code></p>
  
  <p>where <code>elm</code> is a jquery object of the clicked image inside iframe. I want to append that image to a <code>&lt;div id="wrap"&gt;</code> where <code>#wrap</code> is a div in the body of the page outside iframe. So basically when i double click on an image inside iframe, i want that image to append to <code>&lt;body&gt;</code> outside iframe. Both body and iframe link are on the same domain. </p>