JS detect upload from a new window
<p>I have a windows, which in there is a upload button. When user click this button, it will popup a page for user to upload the desired file. But i dont know how can the main page detect if the user uploaded and add a field to the main form?</p>

<p>I've been seeing this somewhere but i dont remember so i can't go back to check out the source JS..</p>

<p>If anyone know, please give me an advice. </p>

<p>Thanks in advance :)</p>

<p>PS: im working on Jquery</p>
