I have an <input>
element which receives a default value (i.e. 180
) on page load.
<label id="tl" class="secondary_text" title="title">Time limit [s]</label>
<p>
<input id="spinner-timelimit" class="spinner-ten" name="spinner" value="180">
</p>
If I modify the original value (manually or using a jQueryUI spinner), the new value is stored, even after I refresh the page using F5
.
I'd like for the default HTML value to be reapplied after reload of the page, not the one that was input by a user.
I don't believe this is an ordinary cache problem, as I have disabled cache in the Firefox console, under Network tab.
I tried reproducing the situation in a JSFiddle, but there the refresh using Run correctly restores the default value, so doesn't reproduce the problem.
Note that this only happens in Firefox, not in Chrome. Can anything be done to force the HTML refresh in Firefox?