<a id="inviterDel" onclick="delInviter(${item.inviterAddId})">删除</a>
function delInviter(id){
var confirmDel=confirm("确认删除此推客信息");
if(confirmDel==false){
return false;
}else{
$.ajax({
url:"${ctx}/inviter/inviterDel.htm",
type:"post",
data:{inviterAddId:id},
success:function(data){
//var jsonData = $.parseJSON(result);
var responseCode = data.responseCode;
var responseMsg = data.responseMsg;
if (responseCode == "0000") {
alert("删除成功");
window.location.reload();
} else {
alert(responseMsg);
}
}
});
}
}