Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q861 How do I force a reload of the parent window when closing a child?

irt.org | Knowledge Base | JavaScript | Redirect | Q861 [ previous next ]

Q861 How do I force a reload of the parent window when closing a child?

Instead of loading a page in the child window, load a frameset instead:

<frameset rows="100%,*" onUnload="opener.location.href = opener.location.href">
<frame src="yourrealpage.htm">
<frame src="blank.htm">
</frameset>

Then when the child window is closed the onUnload event handler will trigger and reload the parent window.

Feedback on 'Q861 How do I force a reload of the parent window when closing a child?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.