How to disable caching of input fields
October 28, 2009 Leave a comment
this is one pesky feature,.. if you ask me. well to the point ,. if u make your ordanary<input> html control the content of it will be cached in browser memory,. this way if you press F5 it will remember your input,.. and from time to time you want to diable that ,.. and this is how you do it.
add autocomplete=”off” attribute to your her’s an exsample.
<input type=”text” id=”myInput runat=”server” value=”” autocomplete=”off” />