I am experiencing unexpected behavior with Internet Explorer 6, select lists and the back button. (The problem does not appear in Firefox 1.0.4)
I have a page with a table of data and a drop down of filter options for that data. The use case is-- the user selects a filter criteria from the drop down; clicks submit; the form is posted to the server; the data filtered based on what was selected in the drop down is retrieved from the database and the page/table redrawn showing the filtered version of the data. So let's say the filter options are "Amount > 100", "Amount > 200", "Amount > 300". And let's say the user begins this flow with "Amount > 100" selected, clicks submit, and the data is then shown for amounts > 100. The user then selects "Amount > 200", clicks submit, and the page is now shown with the data for Amount > 200. NOW, when the user clicks the back button in IE, the data is retrieved/shown for the correct filter criteria-- i.e. Amount > 100-- however, the selected item in the drop down is STILL Amount > 200. It turns out that the selected item in the drop down is ALWAYS whatever the most recent selected value of the drop down is when you click the back button in IE. And furthermore, if there are other drop down lists on the page, that aren't even part of the form associated with the submit button that posts the form, their selected items is ALWAYS whatever the most recent selected item when the form was last posted. Viewing the source of the page in this scenario, the html has the CORRECT item specitifed as selected in the drop down (i.e. Amount > 100), yet IE is showing the most-recently selected item in the drop down selected (Amount > 200). I've seen this problem in the user groups with suggestions of playing with the user's cookies, but no exact reason as to why this is happening and no clean solution. Does anyone have a solution for this problem? Thanks. RB --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
