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!

refresh the whole page when click a link in one frame

Status
Not open for further replies.

royyan

Programmer
Joined
Jul 18, 2001
Messages
148
Location
US
May be this is a very easy question.
How do I refresh the whole page when I clcik a link inside of a frame.

Another question is, how do I send variable from frame1 to frame2 and get updated value back to frame1.
Thanks!
 
Question 1:

parent.location = parent.location;

Question 2:

in frame 1:
parent.frames["frame2"].varName = 30; //for example

in frame 2:
parent.frames["frame1"].varName = 35; //for example

Or you could have something like (in frame 1):

varName = varName + parent.frames["frame2"].newVarNameValue;

...or whatever.

'hope this helps.

--Dave
 
Thanks, Dave!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top