<form id="form2" action="go.php" method="post">
<input type="text" name="user" value="" />
<input type="password" name="pass" value="" />
</form>
I entered some values into the inputs, and then – reload the page.
Expected the inputs being empty after reloading, because of their starting value="" but they’re still filled.
Even after F5 in Firefox.
Also – after navigating back and forward.
How to clear input’s content after reloading the page ?
This is most likely a browser feature. Most modern browsers will save your form or login information. Information on Firefox’s form caching can be found at http://support.mozilla.org/en-US/kb/control-firefox-automatically-fills-in-forms.