May 5, 2004 #1 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!
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!
May 5, 2004 #2 LFI Programmer Joined Apr 27, 1999 Messages 1,996 Location US 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 Upvote 0 Downvote
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
May 5, 2004 Thread starter #3 royyan Programmer Joined Jul 18, 2001 Messages 148 Location US Thanks, Dave! Upvote 0 Downvote