Input is not a workaround for disabled after submission of this value _ experience Exchange

Source: Internet
Author: User

The value is not reached after it is submitted in the form form.
Change disabled= "Disabled" to ReadOnly = "ReadOnly"
According to the code: http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12
Input that is set to disabled will have the following limitations:
Cannot receive focus
You will be skipped when you use the TAB key
Probably not successful.

Input that is set to ReadOnly will have the following limitations:
Can receive focus but cannot be modified
You can use the TAB key to navigate
It could be successful.
Only successful form elements are valid data, which can be submitted. The text input box for disabled and readonly can only be modified by scripting the Value property.
  • Related Article

    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.