<!-- A page that is used to test that the 'onchange' event is not fired for autofill previews. -->
<html>
<head>
<script>
var state_changed = false;
var other_changed = false;
</script>
</head>
<body>
<form action="https://www.example.com/" method="POST" id="shipping">
<label for="firstname">First name:</label>
<input type="text" id="firstname"><br>
<label for="lastname">Last name:</label>
<input type="text" id="lastname"><br>
<label for="address1">Address line 1:</label>
<input type="text" id="address1"><br>
<label for="address2">Address line 2:</label>
<input type="text" id="address2"><br>
<label for="city">City:</label>
<input type="text" id="city"><br>
<label for="state">State:</label>
<selectlist id="state" onchange="state_changed=true">
<option value="" selected="yes">--</option>
<option value="CA">California</option>
<option value="TX">Texas</option>
</selectlist>
</form>
<selectlist id="other" onchange="other_changed=true">
<option>First</option>
<option>Second</option>
</selectlist>