no

How to Clear the Values of Html Input Fields No Cache

There are times when you don't want to show the values previously entered and process of a certain html form. For example on a public PC...

There are times when you don't want to show the values previously entered and process of a certain html form. For example on a public PC that is used by anybody, if you type in your email address on any email site like gmail, yahoo you will notice that double clicking on the textbox will show all the values entered. Sometimes even if you clear the cache, history etc.

If you're coding and you don't want that behavior then add this tag in your input control: autocomplete="off"
<input type="text" class="bordered" autocomplete="off" id="username" maxlength="50" size="30" value="" name="username">

Related

web 7426198482287863849

Post a Comment Default Comments

1 comment

Anonymous said...

it works, thanks

Outsourcing

Are you looking for freelancers in the Philippines? Get in touch.

Donations

If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.

item