[Javascript] How to close the popup and refresh the main window
Sriram Venkatasubramanian
Sriram.Venkatasubramanian at adeasolutions.com
Wed Dec 14 07:23:13 CST 2005
Hi ,
I have to close a popup and refresh the opener window. So In the child
(popup) window , I have javascript in the child window as :
window.opener.location.reload(); window.close();
What is happening the parent window is getting refreshed ( the page is
getting refreshed ) but not the url ( For eg. Parent window url is :
/portal/searchOrderResults.do?method=getSearchOrderResults ) is not
getting called, resulting the stale page is displayed . Any idea how to
solve this ?
Regards,
Sriram V
More information about the Javascript
mailing list