在其他瀏覽器中沒有問題,但是在IE8中就會出現問題,直接跳到$.ajax的error,alert返回的readyState為0 $.ajax({ type: "POST", async: false, contentType: "application/x-www-form-urlencoded;charset=UTF-8", xhrFields: { withCredentials: true }, url:url, data:data, success:function (response) { arr = response.Data.ListData; }, error:function (XMLHttpRequest, textStatus, errorThrown) { alert(XMLHttpRequest.readyState); } });readyState:
求助!IE8中Jquery的$.ajax出現錯誤?
嗶嗶one
2018-11-20 17:17:24