0
当此代码在ipad上的chrome上运行时,它将忽略类型“POST”并使用get方法发送ajax请求。这是兼容性问题吗?好像chrome不支持发布ajax请求?jQuery ajax post使用get方法在ipad chrome上发送请求
$.ajax({
type: "POST",
url: "/ajaxCall",
data: sentData,
success: success,
dataType: "text",
error: function (jqXHR, textStatus, errorThrown) {
console.log(errorThrown);
}
});