$.ajax({
url:baselocation+"/admin/website/delWebsiteInstitution",
type:"post",
data:{"instIds":instIds},
dataType:"json",
success:function(result){
if(result.message){
alert("删除成功");
window.location.reload();
}
}
});
每次执行到第一行时就直接跳出 不报任何错误
这问题好难答,线索略少。那就根据现在能看到的东西,谈几点问题吧:
根据jquery官网文档,
method
描述如下:你是小写
post
。文档里没说大小写无所谓哦!根据jquery官网文档,
data
描述如下:你确定你是希望你的
ajax
call是以xxx/admin/website/delWebsiteInstitution?instIds=yy
这种方式发送么?