Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

You are here: irt.org | FAQ | JavaScript | Redirect | Q861 [ previous next ]

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?'

©2018 Martin Webb