Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh the opener window from opened window

Status
Not open for further replies.

sourabhjha

Programmer
Jan 13, 2002
121
IN
I am opening a new window from the current window by window.open().On closing the opened pop up window i want to refresh the parent window(from which i open the popup window).How can i do that
Thanks
-Sourabh
 
Try this:

<script>
function changeOpener()
{
opener.location.href=&quot;whatever.htm&quot;
}
</script>


<BODY onunload=&quot;changeOpener();&quot;>

 
in the child window:

parent.opener.location.reload();
window.close();

=========================================================
if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top