# How to pass variable from popup window to its parent window?

**URL:** <https://forum.kirupa.com/t/how-to-pass-variable-from-popup-window-to-its-parent-window/31322>\
**Category:** Uncategorized\
**Created:** [September 21, 2003, 1:43pm UTC](https://forum.kirupa.com/t/how-to-pass-variable-from-popup-window-to-its-parent-window/31322 "2003-09-21T13:43:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBUH](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SBUH](https://forum.kirupa.com/u/SBUH)\
**Post date:** [September 21, 2003, 1:43pm UTC](https://forum.kirupa.com/t/how-to-pass-variable-from-popup-window-to-its-parent-window/31322/1 "2003-09-21T13:43:56Z")

</div>

Hello, friends. I am using asp and javascript to make a popup window for uploading image from the user’ s local machine to the folder on the server. Now there is no problem to upload the image by using a form page and a action page. But how can I send the name of the image uploaded to the parent window?

Could any one who has experience give some suggestion. Thanks very much in advance!
