html prohibits clearing input text input cache_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:54:43
Original
1200 people have browsed it

Most browsers cache the input value by default. Only those who use ctl F5 to force refresh can clear the cache record.

If you don’t want the browser to cache the input value, there are 2 methods:

Method 1:
Add to the input that you don’t want to use caching autocomplete="off";
eg:

Method 2:
In the form tag where the input is located Add autocomplete="off";
eg:



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template