Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Passing values between frames


Message #1 by "arun" <arun@l...> on Wed, 6 Feb 2002 11:13:03 +0530
This is a multi-part message in MIME format.

--Boundary_(ID_l9069vOOzVf+56VupiK6nQ)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit

Yes, we can.

You just need to refer to frame that you want from you current frame.
For example if you in frame2 and want access frame1 you can do :

parent.frame1.somevar = 'text';
parent.frame1.Mytextbox.value = 'textboxvalue';

etc'.

Oleg
  -----Original Message-----
  From: arun [mailto:arun@l...]
  Sent: February 06, 2002 12:43 AM
  To: javascript
  Subject: [javascript] Passing values between frames


  Hi,

  Can we use javascript/vbscript to pass variable values between two frames?

  Requirement:
  In frame1 is am displaying list of filenames as link
  In frame2 i have the next and back button.
  In frame 3 i am displaying the files

  when i click the filename in frame1, i want the index of the filename in
frame2. Is that possible?

  regards
  arun
$subst('Email.Unsub').


  Return to Index