Click to See Complete Forum and Search --> : How can Javascripts in different pages pass values?


karayan
05-01-2003, 10:07 PM
Here is the problem. Javascript 1, in HTML page 1, wants to pass some values to page 2, to be used by Javascript 2 in that page. Javascript 1 loads page 2, and as it does so, it needs to pass these values. Any tricks I can use to do that? (If it matters, the values are strings.) Through the parent attribute, maybe?

Thanks.

George

karayan
05-01-2003, 10:48 PM
Thanks, Dave.

Since it is a script that needs to send these values, (i.e., no form), are you saying that I must place them in some hidden form somewhere and have JS trigger the form action? Or can I simply have JS load the following URL:

page2.htm?valueX="blabla"

without forms?

Thanks, again.