Click to See Complete Forum and Search --> : variables become undefined


elkes
04-09-2003, 10:10 AM
I wrote a function in javascript : ReloadSel();
This function reloads my htm page.
I first set some variables to a specific value. You will see some alerts: the first alerts give me the values like I want to set them in my function.
PROBLEM:The second list of alert show me undefined for most variabels.
The second list is still ok when I remove some lines of code (see attachement)
What's wrong, why are variables losing their value all of a sudden?


Regards,
Elke Segers:confused:

requestcode
04-09-2003, 11:16 AM
When you reload the page all of the variables are set back to their default. You will need to use cookies if you want to save them.

elkes
04-10-2003, 08:56 AM
Do cookies work with multiselect drop-down lists???