How to append element to popup windows
<p>I am trying to append more data and style my table inside my popup window.</p>

<p>I have</p>

<pre><code> var popup = window.open("popup.html", "popup","width=800","height=600");
     popup.document.write(
     "&lt;table id='dataTable'&gt;"+
      "&lt;tr&gt;&lt;th&gt;test1&lt;/th&gt;&lt;th&gt;test2&lt;/th&gt;&lt;th&gt;test3&lt;th&gt;&lt;/th&gt;test4&lt;/th&gt;&lt;th&gt;test5&lt;/th&gt;&lt;/tr&gt;" +
      "&lt;/table&gt;");

ajax callback data
    codes....
</code></pre>

<p>How to append the data and style my table?    </p>
