Here is a translation from google translate, followed by my response:
XP sp3 everything is normal, the sp2 is not responding. Request has been sent to the server, the server works fine, but not execute ajax success, do not perform error, do not perform complete. The code $. Ajax ({
type: "get", async: false, timeout: 10000, url: "/ login.do", data: "username =" + userName + "& pwd =" + password + "& d =" + new Date (), contentType: "text / html ", success: function (responseText) {
alert ("searchUserInfo_2");
}, Error: function (x, e) {
alert ("searchUserInfo_3");
}, Complete: function (jqXHR, textStatus) {
alert ("searchUserInfo_4");
}
});
In addition, the following methods can be var xmlhttp = new ActiveXObject ("Microsoft.XMLHTTP"); xmlhttp.Open ("GET", CURL, false); try {
xmlhttp.Send (); var resultNum = xmlhttp.status;
if (resultNum == 200) {
return true;
}
} Catch (e) {}
=================== Sp2 default ie6, upgrading to ie8 problem still exists, can only be marked with sp3 patch.
Original jquery1.3.2, upgrade to the latest 1.6.2 does not work.
Thanks for submitting a ticket. I've just re-tested the $.ajax .success(), .complete() and .error() methods with jQuery edge (1.6.2+) and they all appear to be working fine with suggests there is something wrong with the server-side login.do you appear to be calling. If you take a look at the test cases below, you'll see the $.ajax methods mentioned working fine on jsfiddle.net.
Closing as this does not appear to be an issue related to core's $.ajax module functioning incorrectly.