Click to See Complete Forum and Search --> : Need to send a list from one page to the next


Hooman
05-20-2003, 08:35 AM
Hi,
I don't have IIS on my work machine, and
I'm trying to send the values in a list/menu to the next page.
Basically in the first page user selects his/her variable names.
They get saved in a LIST.
Now when she submits the second HTML page opens up.
I need to carry those variable names from the list in the first page, to the second page (in a list box again).
I appreciate if some body knows and shares the answer to this problem.
Thanks,

Greelmo
05-20-2003, 09:12 AM
Are you changing locations or opening a new window?? if you open a new window you can use all the same variable names... i think...

khalidali63
05-20-2003, 09:13 AM
If the next page is a child window of this window,then its prety easy to pass values from parent to child.

childWinName.document.fromName.fieldName.value=variableName

But if you have to send this info to another page that does not have any link with this page,then you have only one choice(Since server side is not the option),pass the values using URL

Here is an example of using URL to pass values.

http://68.145.35.86/skills/javascripts/DemoForwardFormDataViaURL.html

Hooman
05-20-2003, 09:34 AM
Thanks Dexter and Khalid,

Right now I'm changing location, I don't know if this can be considered as a childwindow, or I have to open a new window to have that option?
I'll try what Khalid suggested ... will let you know, although I'm not sure if a location change is considered a child window or not....

Thanks again,
Hooman