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.