Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] How to close the popup and refresh the main window


  • From: Sriram.Venkatasubramanian at adeasolutions.com (Sriram Venkatasubramanian)
  • Subject: [Javascript] How to close the popup and refresh the main window
  • Date: Wed Dec 14 07:35:39 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