how to select option marked selected in <select> on page refresh (or f5 is pressed)
<p>I am having a <code>&lt;select&gt;</code> with few options on my page, one of the option is marked <code>selected</code>. When the page is loaded first time that options is pre-selected as expected. Now if user chooses another option and refreshes the page by pressing f5 (or clicking refresh). Mozilla and almost all modern browsers selects the options chosen by user not the one marked <code>selected</code>. How can i make sure that on  page refresh option marked selected is always pre-selected, not the one user chose before pressing F5;</p>

<pre><code>&lt;select name="Fruit"&gt;
    &lt;option value="7336707"&gt;Apple&lt;/option&gt;
    &lt;option value="9288359"&gt;Guava&lt;/option&gt;
    &lt;option value="1797363" selected="selected"&gt;Mango&lt;/option&gt;
    &lt;option value="9288359"&gt;Grapes&lt;/option&gt;
&lt;/select&gt;
</code></pre>
