Home >Web Front-end >HTML Tutorial >Two ways to disable clearing input text input cache in html_HTML/Xhtml_Web page production
Most browsers will cache the input value by default. Only by using ctl F5 to force refresh can the cache records be cleared.
If you don’t want the browser to cache the input value, there are two methods:
Method 1:
Add
to the input that does not want to be cachedMethod 2:
Add
in the form tag where the input is located