Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Reseting multilple dropdown boxes when back button is clicked


Message #1 by "Azinger, Richard" <richard.azinger@p...> on Fri, 30 Aug 2002 10:29:58 -0500
Hello List,

I've made a form with 2 dropdown lists that work off of one another. When
the user selects a option on the first dropdown the second dropdown changes
it's options. That is working great. My problem is when the user goes to the
next page and then hits the back button their selection on the first
dropdown is what they choose but the options on the 2nd dropdown are for the
1st option of the 1st dropdown. If the user clicks on a "Back" link I made
on the 2nd page the 1st page is reset. 

To get around this I'd like to reset the page when the back button is used.
Is there a way to reset both dropdowns to there original options when the
back button is used?

Thanks in advance,

Rich

  Return to Index