Why is WeChat browser uploading images via Ajax, XMLHttpRequest's readystate always stay at 1?

Source: Internet
Author: User
PHP Web site on the Android phone browser access, upload pictures of the part of the XMLHttpRequest readystate always remain at 1, the same program in the mobile phone (and PC side) Chrome browser and Apple phone browser are all normal, Only Andro browser can not complete the upload process, the card in this readystate 1 (open) status, went online to check some articles, began to find an article in the call Ajax problems, said the browser does not have built-in XMLHttpRequest, But his state was always 0,
Another article readystate that the state value is always 1, saying that the onreadystatechange callback function cannot have parameters, and that the parentheses cannot have any, and that it is not valid as modified by its method.

Seek expert guidance

Reply content:

PHP Web site on the Android phone browser access, upload pictures of the part of the XMLHttpRequest readystate always remain at 1, the same program in the mobile phone (and PC side) Chrome browser and Apple phone browser are all normal, Only Andro browser can not complete the upload process, the card in this readystate 1 (open) status, went online to check some articles, began to find an article in the call Ajax problems, said the browser does not have built-in XMLHttpRequest, But his state was always 0,
Another article readystate that the state value is always 1, saying that the onreadystatechange callback function cannot have parameters, and that the parentheses cannot have any, and that it is not valid as modified by its method.

Seek expert guidance

  • 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.