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

Closing Child window and redirect of parent window. 1

Status
Not open for further replies.

Gatorajc

MIS
Mar 1, 2002
423
US
Here is what I want to do. Click on a link and have a popup window open and have the parent window go to another page. No problem there.

The problem Im having is clicking on a link in the popup window so it closes that window and causes the parent window to go back to the original page.

That possible or would it be easier to just put a link on the parent window that would send the page back and close the child window.

I really would like to do the first one.

Thanks in Advance.

AJ
[americanflag]

If at first you do not succeed, cheat!


 
try something like:


<a href=&quot;javascript:window.opener.history.back();this.window.close()&quot;>click here</a>

in your pop up window.

that should work

simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top