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!

How do you refresh main page from pop up? 1

Status
Not open for further replies.

meeble

Programmer
Sep 24, 2002
137
GB
I have a page - when you click a link on it, a pop up opens.

If the user closes the pop up by clicking on the X in the top right hand corner, can you make this refresh the main window the pop up came from?

Cheers

James
 
Try something like this in your popup:

Code:
<body onunload="window.opener.document.location.reload(true);">

Hope this helps,
Dan
 
Thanks!..That is what I was looking for....


Sunil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top