DIGIT-ARC read-only archive · snapshot: July 23, 2026

Refreshing parent window...

3 posts · originally from https://geek.digit.in/community/threads/refreshing-parent-window.47196/

whoopy_whale
whoopy_whale Original post #1
Jan 23, 2007 at 9:31 AM
I have a page with some links,clicking upon which opens a pop up window using java script.The pop up window contains a form.After submitting the form,a close button is shown.
Now,after clicking the close button,the parent window should refresh.
It's working correctly upto the closing part.I dont know how to refresh the parent window...

Help please...
FatBeing
Jan 23, 2007 at 11:03 AM
I don't know the exact code off-hand, but in the onClose event of your popup, use this
Code:
window.caller.reload()
whoopy_whale
Jan 23, 2007 at 1:20 PM
I tried this code,but it's not refreshing....It' closing alright...

Code:
<input type="button" value="Close this window" onClick="window.close();window.caller.reload();">