title: Why does Chrome not show a selected <option> element after using the back button?
body: <p>I have a <code>&lt;select&gt;</code> tag that contains a single <code>&lt;option&gt;</code> element:</p>
  
  <pre><code>&lt;select id="someselect"&gt;
    &lt;option value="2"&gt;B&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>The single <code>&lt;option&gt;</code> is later replaced using jQuery. The new list of options always contains the old option:</p>
  
  <pre><code>selected = $('#someselect').val();
  $('#someselect').html('&lt;option value="1"&gt;A&lt;/option&gt;&lt;option value="2"&gt;B&lt;/option&gt;').val(selected);
  </code></pre>
  
  <p>This works as expected. However, when navigating away from the webpage in Google Chrome and then clicking the back button, something weird happens. The select tag is back to its initial state (makes sense), but the single <code>&lt;option&gt;</code> element is not selected!</p>
  
  <p>What is the cause of this behavior in Chrome?</p>
  
  <p>I've created a minimal working example: <a href="http://dl.dropbox.com/u/27566470/backdemo.html" rel="noreferrer">http://dl.dropbox.com/u/27566470/backdemo.html</a><br>
  Initially there is only a single <code>&lt;option&gt;</code>. First click on "click" to replace the options (but keep the 'B' option selected), then click on "Google" to navigate away, and then use the back button of Chrome to see the <code>&lt;select&gt;</code> tag with only a single option that is not selected.</p>
  
  <p>Edit: to clarify, I'm not interested in how to fix this. I'm curious why Chrome works like this. Serving the original (unmodified) DOM after using the back button makes sense, but why is the only select option not selected?</p>