Moving the content of an DIV to another window with JavaScript / JQuery
<p>I need to make an "Print product" feature on my ecommerce site and the print part i already figured it out ... windows.print</p>

<p>My problem is that I want to copy the entire content of DIV where I have all product specifications and photos to another window which after I can print it.</p>

<p>I have a link <strong>Print this product</strong> which when clicked, JQUERY must create the new window and also copy the entire product's DIV to this new window.</p>

<p>I have seen several approaches here and it only confused me so that's why I am posting this here.</p>

<p>Can someone please explain me with an example how to solve my problem.</p>

<p>Thank you.</p>
