Click to See Complete Forum and Search --> : Retaining values


Atwill
10-14-2003, 10:49 AM
Hi There. I had no luck in finding similar posts, so I am posting my questions here. Hopefully someone can point me in the right direction!!

Here's what I have, and want to do.

-->Page with 2 Drop down Boxes
-->When 2nd drop down box is changed, i want page to redirect to itself.

-->When page redirects I would like to have the values in the 2 drop down boxes unchanged. Right now, this all works, but values are gone (just like a refresh....values are gone)

I know this could be done something with like a request object in vbscript, or something like that, but I would like to avoid this.

I call a JavaScript function when the onchange event fires on the second drop down box. In this function is where I want to "refresh" the page but retain the values in the 2 boxes.

Hope I made some sense here, and any help would be great!

Thanks

Khalid Ali
10-14-2003, 10:59 AM
append some value to your url when you reload it,and when you reload it you can reconstruct the 2nd drop down based on that value.