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!

How to reload a frame? 1

Status
Not open for further replies.

Kendel

Programmer
Joined
Apr 24, 2002
Messages
1,512
Location
US
Hi All,

In page1 I have 2 frames, left & right. Each one is a different page.
I open a window from right frame. When I close it, I also reload the right frame.

Now, my question is, can I reload the the left frame at the same time?

Thanks.
 
Yes.


rightURL = window.opener.location.href
leftURL = window.opener.parent.leftFrameName.location.href

to refresh the whole frame holder

parentURL = window.opener.parent.location.href
window.opener.parent.location.href = parentURL


Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
Thanks a bunch mwolf00!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top