/ / jQuery ajaxレスポンスがIE11で機能しない - javascript、jquery、ajax、internet-explorer-11

jQueryのAjaxレスポンスがIE11で動作しない - javascript、jquery、ajax、internet-explorer-11

私は "jQuery / AJAXでログインページを作成しようとしています。私のコードは他のブラウザでもうまく動きますが、IE11で問題があります。 IE11は例外を投げます

SCRIPT7002: XMLHttpRequest: Network Error 0x800c0008, The download of the    specified resource has failed.

コード

    $.ajax({
type: "post",
url: $("#form-login").attr("action"),
data: $("#form-login").serialize(),
success: function (data) {
if (isJson(data)) {
...
}
},
complete: function (data) {
console.log(data);

if (data.status == 302) {
location.href = data.responseText;
}
}
});`

回答:

回答№1は1

それは問題が302(リダイレクトレスポンス)にのみあるようです、私は203にそれを変更し、すべてが正常に動作します。