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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close pop-up, Refresh parent window at the same time.

Status
Not open for further replies.

iisman

Technical User
Mar 6, 2005
85
CA
Hello,

I was not really sure what to search on google, so i didnt find anything explaining this.

I have a web page, from which "details" can be displayed in a pop up window.

In this pop up window, I have a link to close that window using javascript. Wehn that is clicked, is there a way to have it refresh the main window as well? I do not want the user to have to do this manually.

THanks for the help.
 
this should do the trick:


Code:
opener.location.reload( true );
window.close();

*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
beware of active imagination: [URL unfurl="true"]http://www.coryarthus.com/[/url]

BillyRayPreachersSonIsTheLeetestHax0rDude
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top