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

Q1249 How can you refresh a frameset from a child window created from one of the frames and subsequently close the child window by way of a button?

You are here: irt.org | FAQ | JavaScript | Frame | Q1249 [ previous next ]

Refresh the frame (or page) that opened the window:

<form>
<input type="button" onClick="opener.location.reload(); self.close()" value="Refresh and close">
</form>

Refresh another frame:

<form>
<input type="button" onClick="opener.parent.framename.location.reload(); self.close()" value="Refresh and close">
</form>

Refresh the frameset:

<form>
<input type="button" onClick="opener.top.location.reload(); self.close()" value="Refresh and close">
</form>

Use reload(1) to force reload from server.

Feedback on 'Q1249 How can you refresh a frameset from a child window created from one of the frames and subsequently close the child window by way of a button?'

©2018 Martin Webb