# Targeting parent windows with javascript?

**URL:** <https://forum.kirupa.com/t/targeting-parent-windows-with-javascript/107893>\
**Category:** Uncategorized\
**Created:** [April 20, 2004, 12:33am UTC](https://forum.kirupa.com/t/targeting-parent-windows-with-javascript/107893 "2004-04-20T00:33:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ironikart](https://avatars.discourse-cdn.com/v4/letter/i/7feea3/32.png) [@ironikart](https://forum.kirupa.com/u/ironikart)\
**Post date:** [April 20, 2004, 12:33am UTC](https://forum.kirupa.com/t/targeting-parent-windows-with-javascript/107893/1 "2004-04-20T00:33:40Z")

</div>

Ok, I’m no javascript boffin, but I’ve seen it done where a script launches a popup window and you can tell the parent window to do a behaviour (In my case I want it to refresh when the popup is closed). Am I totally off track? I’m not sure if the script is fired from the parent window or the child.

I guess what I’m asking is, please… how is it done?
