Form submission is AJAX submission, PC submission is no problem but mobile submission will always jump to error, and no status code has been 0

Source: Internet
Author: User

You're so stupid. Button Label He will automatically submit a refresh page

<formID= "Baoming_from">            <P>Please fill in your personal information</P>            <ul>                <Li><label>Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name:</label><inputtype= "text"name= "Name"myattr= "Name"maxlength= "5"></Li>                <Li><label>Contact Phone:</label><inputtype= "text"name= "Phone"myattr= "Contact Phone"maxlength= "One"></Li>                <Li><Buttonvalue= "Registration"class= "Baoming_btn">Application</Button></Li>            </ul>            <inputtype= "hidden"name= "activity_id"class= "my_id">        </form>

To change the button label to <input type= "button" value= "register" class= "BAOMING_BTN" >

Otherwise $.ajax submit when the PC submitted no problem but the cell phone submission will be written to the database but always jump to error, and no status code has been 0

Form submission is AJAX submission, PC submission is no problem but mobile submission will always jump to error, and no status code has been 0

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.