How to disable caching of input fields

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”  />

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: