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

window.opener question

Status
Not open for further replies.

gkean

Programmer
Joined
Jun 26, 2000
Messages
1
Location
US
Is there a way to open a new window (actually I know how to do this) and then from that new window close the new window and redirect the original window to a new page?
 
&quot;and then from that new window close the new window &quot;<br>-&gt; your_new_window.close() !!!<br><br>&quot;and redirect the original window to a new page? &quot;<br>-&gt; your_new_window.opener.location=&quot;new_url.htm&quot; if you call it from the new window [not sure it'll work AFTER the window is closed !]<br>-&gt; this.location=&quot;new_url.htm&quot; if you call it from the opener window [and you can try to use the onclose (or afterclose? dont remember) event]<br><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top