Home > front end >  The jquery ajax request failed
The jquery ajax request failed

Time:10-18

The ajax request, in uc, baidu, other browser to access are normal, but under the ios qq browser access, walked the error, which know what reason be? Thank you very much, RT

CodePudding user response:

Check whether the cross-domain problem,

CodePudding user response:

reference 1/f, hate away la response:
check whether cross-domain problem,

Should not cross domain problem, because of uc, baidu, Google is fine with other browsers, only the qq has a problem, the fault is readystate state 0 0

CodePudding user response:

refer to the second floor andy921117 response:
Quote: refer to 1st floor hate away la response:

Check whether the cross-domain problem,

Should not cross domain problem, because of uc, baidu, Google is fine with other browsers, only the qq has a problem, the fault is readystate state 0 0


Readystate is 0 to check whether the background receives the request,

CodePudding user response:

reference hate away la reply: 3/f
Quote: refer to the second floor andy921117 response:

Quote: refer to 1st floor hate away la response:

Check whether the cross-domain problem,

Should not cross domain problem, because of uc, baidu, Google is fine with other browsers, only the qq has a problem, the fault is readystate state 0 0


Readystate is 0 to check whether the background receives the request,

No, 0 is not sent out,

CodePudding user response:

Readystate of 0: initialization, the XMLHttpRequest object initialization is not yet complete

CodePudding user response:

reference 5 floor li905663280 reply:
readystate of 0: initialization, the XMLHttpRequest object is not yet complete initialization

What solution? I invoke ajax to print in the url, options, and the parameters of these needs can be printed, that is to get into, but other browsers can success, is very strange, what are the ways to solve or deal with?

CodePudding user response:

This is how you deal with
  • Related