开发者

JQuery Ajax returns status 0 in Google Chrome, works fine with other browsers

I am using jQuery ajax, and it worked very well unt开发者_如何学编程il I tried the site in Google Chrome. I am directed to the success handler. However, when I printed the status of the XMLHttpRequest, I got a 0. The responseText is empty as well. This only happens in Google Chrome. I tried the same code on Safari, Firefox, and Opera, they are worked correctly. Any help will be greatly appreciated. Thanks.


It works in Chrome under windows, but not mac. Maybe a bug.


If this problem is happening for you only on you local machine (and not on a remote server), maybe this is your answer: https://stackoverflow.com/a/2982176/470749

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜