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

Chaging frame location from a pop-up window

Status
Not open for further replies.

jmcg

Technical User
Jun 30, 2000
223
0
0
GB
I am trying to build a script in a pop-up window that will reload a page in the frame 'main' in the first window.

I have tried:
window.top.main.location.reload(true);
top.main.location.reload(true);
window.main.location.reload(true);
and all return 'is not an object' error.

Any help? Thanks...
 
use window.opener to reference the "window" that poped up your popup
 
Just what I was looking for THANKS :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top