Combobox doesn't retain values after "back" on chrome
I've got a page with a bunch of select comboboxes. If the user clicks a link, and then goes back to this page, the selected items change. This seems to happen only in Chrome, it works fine in IE7.
It turns out that if I remove the addition of jquery-1.3.2.min.js then the comboboxes work as I expect.
I have a real simple test case that demonstrates the issue. You can see the first time you load this, Audi is selected. But if you click on "foobar" then click back, Volvo will be selected.
Perhaps this is just a bug in chrome as both IE and Firefox appear to do the right thing. But why would including jquery be causing the problem?
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
</head>
<body>
<a href="http://www.google.com">Foobar</a>
<select>
<option>Volvo</option>
<option>Saab</option>
<option>Mercedes</option>
<option selected='selected'>Audi</option>
</select>
<select><option>x</option></select>
</body>
</html>