0
我的jQuery Ajax調用json文件在Internet Explorer中失敗。 所有其他探險家都做得很好。Ajax調用json失敗,例如
代碼:
$.ajax({
url: myurl + "?randomid="+Math.random(),
datatype: "json",
mimeType:"application/json; charset=UTF-8",
success: function(data,status,response) {
var JSONdata = $.parseJSON(response.responseText);
alert("Success");
},
error: function(e1,e2,e3) {
alert(e1 + " " + e2 + " " + e3);
}
});
的Internet Explorer引發警報的錯誤部分:
[對象對象]錯誤無交通運輸
提前感謝您的幫助!
可能重複[ '否傳輸' 錯誤瓦特/ jQuery的IE瀏覽器中的Ajax調用(http://stackoverflow.com/questions/9160123/no- transport-error-w-jquery-ajax-call-in-ie) – veelen
對不起,剛纔看到 –