【发布时间】:2023-12-31 16:09:02
【问题描述】:
我了解到 IE10+ 能够像所有其他浏览器一样正常进行跨域,但在我的情况下似乎不起作用。
当我启动请求时,IE 只是重新加载页面。
ajaxreq = $.ajax({
postData = {"movie":movie, "season":season};
url: "/cgi-bin/find_data.py",
type: "post",
datatype:"json",
cache: false,
async : true,
data: postData,
success: function(response){
var json = $.parseJSON(response);
}
})
.fail(function(err) {
alert("error" + err);
});
XDR 也是如此,但只有在我关心 IE
【问题讨论】:
标签: javascript ajax