AU mobile phone, text tag with the same name attribute, value overwrite Problem

Source: Internet
Author: User

In non-smart phones of Au (KDDI,

If there are multiple <input type = "text"> tags with the same name in the page,

When displayed, the value of the preceding tag is overwritten by the value of the last tag.

If the network is slow, you will find that when loading the page,

The preceding labels display correct data at the beginning,

However, when the label load is followed, the display data of the label is changed to the value of the label.

Therefore, it can be determined that there is no problem with the HTML content transmitted to the mobile phone, but it is redundant when the mobile phone is displayed.

 

I didn't think of any good solution. I could only use different names, such:

Name_1, name_2...

Then add a special hidden tag to form and use it to determine the number,

Use request. getparameter ("name _" + I) to set the value.

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.