Print popup window Javascript
<p>I have a table that has input boxes and a pop up window that has information in it. I would like to be able to print the table data and include the popup information as well. Is this possible. Quick example below.</p>

<p><strong>Javascript</strong></p>

<pre><code>&lt;script&gt;
function divPrint() {
    window.print();
}
&lt;/script&gt;
</code></pre>

<p>HTML</p>

<pre><code>&lt;div id="printable"&gt;

&lt;table class="table"&gt;
    &lt;th&gt;Option 1&lt;/th&gt;
    &lt;th&gt;Option 2&lt;/th&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;input class="span6 text-center" type="text" id="cost1"&gt;&lt;/td&gt;
        &lt;td&gt;&lt;input class="span6 text-center" type="text" id="cost2"&gt;&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;

    &lt;div class="popup" data-popup="popup"&gt;
        &lt;p&gt;Need to print this as well&lt;/p&gt;
    &lt;/div&gt;

&lt;/div&gt;
</code></pre>