$.ajax({});
$.ajax({
// method : "get", //method是jQuery1.9.0及以上新版标准参数。
type: "get", //type是兼容所有jQuery版本的旧版参数。两者同时写时,type会覆盖method。
async: true, //默认true异步请求不阻塞;false同步请求阻塞代码直到请求完成
url: "",
dataType: "json",
data: {},
success: function (res) {
if (res) {
}
},
error: function (err) {
console.log(err);
}
});

浙公网安备 33010602011771号