Drop downs being reset after back button pressed in IE
Posted: Fri Jan 08, 2010 4:56 am
I'm working on this site and I can't get round this problem. It's fine in Firefox, but not IE. I have heard it might have something to do with caching, but don't know how to change it.
This is what happens:
When the page is generated it creates a drop down list, using javascript, of countries. This information is taken from a back office system. These countries then relate to a destinations drop down, also created in javascript. When the user selects a country, the destination drop down updates to give you all the destinations for that country.
example:
Country choices: America, China, France, UK.
France choices: Cannes, Paris, Nice.
The User selects France, the destination drop down changes to include the above options. The user selects Paris and then gives his name and address. The user then clicks continue and moves on to the next page. On the next page a summary of his selections and details is displayed. The user realises that he entered his address in wrong, so clicks the back button. When he goes back to the first page, the destination drop down resets back to Cannes! It should have held the selection (Paris)
Can anyone help?? It's starting to realy do my head in!
Thanks!
This is what happens:
When the page is generated it creates a drop down list, using javascript, of countries. This information is taken from a back office system. These countries then relate to a destinations drop down, also created in javascript. When the user selects a country, the destination drop down updates to give you all the destinations for that country.
example:
Country choices: America, China, France, UK.
France choices: Cannes, Paris, Nice.
The User selects France, the destination drop down changes to include the above options. The user selects Paris and then gives his name and address. The user then clicks continue and moves on to the next page. On the next page a summary of his selections and details is displayed. The user realises that he entered his address in wrong, so clicks the back button. When he goes back to the first page, the destination drop down resets back to Cannes! It should have held the selection (Paris)
Can anyone help?? It's starting to realy do my head in!
Thanks!