Failure to refresh and reset the form in Firefox)

Source: Internet
Author: User
The simplest HTML code is as follows:
<Input id = "name" id = "csdn" value = "java2000.net"/> in Firefox, if you change the content of the form, click Refresh, you will find that the value in the text box is not returned to the original value, but the modified value.
There are two kinds of guesses
1 Firefox buffered the page and found that the file has not changed, so the page remains unchanged.
2 Firefox automatically fills in the information you just filled in for you, similar to the automatic table filling function

Test shows that even if the code is modified
<Meta http-equiv = "Pragma" content = "no-Cache">
<Meta HTTP-EQUIV = "cache-control" content = "no-Cache">
<Meta HTTP-EQUIV = "expires" content = "mon, 22 Jul 2002 11:12:01 GMT">
<Input id = "name" id = "csdn" value = "java2000.net"/> is invalid because the file content is changed, but the text box still does not return the original value.
The first option may be excluded.

Second, the automatic table filling function is found when Firefox is enabled, but the selection box in front of it is not selected. It does not appear here.

The search found that this problem was still quite common and found the answer on the Firefox website.
Http://developer.mozilla.org/en/docs/How_to_Turn_Off_Form_Autocompletion

Modify the text box
<Input id = "name" value = "java2000.net">
For a single field, you can write it on the field. For the entire form, you can write it on the form.
<Form name = "form1" id = "form1" method = "Post" # javasExamples/ajax Columns

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.