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
精彩评论