Clone Table Output and Display In Popup With Jquery
<p>This might be fairly simple. I have a table that I generate dynamically with php/mysql lets just say for example;</p>

<pre><code>&lt;table id="mytable"&gt;
&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;3&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;td&gt;9&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>I want to copy the entire html of this table, so that I can display it on another page in php. How would I go about doing this? Could I store the html in a php session somehow?</p>

<p>Any help is appreciated, thanks!</p>
