嘿,我有以下 ajax POST 调用:
function callAjax(what2Do)
{
jQuery.ajax({
url: "count.php?do=" + what2Do,
type: "POST",
data: "",
cache: false,
success: function(response, textStatus, jqXHR){
alert('done!');
},
error: function(jqXHR, textStatus, errorThrown){
alert(
"The following error occured: "+
textStatus, errorThrown
);
}
});
}
而且我不断收到错误发生以下错误:在 iE9 中运行页面时出错,但在所有其他浏览器中都可以正常工作。
如果不让它在 IE 中工作,我会错过什么?返回是简单的文本。