Open popup and poulate it with data from parent window?
<p>How can I use Javascript/jQuery to populate a popup-window with data from JS-variables in the parent page?</p>

<p>In my example I have an array of filenames. I list at most five in the parent window and if there's more I want to provide a link that opens a popup window and lists each post in the array.</p>

<p>So if I open a popup that contains a <code>&lt;ul id="all_files"&gt;&lt;/ul&gt;</code>. How can I add <code>&lt;li&gt;</code>-items to that list?</p>

<p>Thanks!</p>
