日期:2014-05-18 浏览次数:20606 次
//你可以写一个js方法来实现
function delete(url, id, userid, name) {
url = url + '?' + Math.random();
//获取id 然后传过去
//比如 $("#hid_DelNo").val();
if (confirm('你确定要删除‘' + name + '’本季度的积分吗?')) {
$.get(url, { id: id, userid: userid }, function (responseText) {
if (!responseText.OK) {
alert(responseText.Error);
} else {
alert("删除成功!");
}
location.reload();
});
}
}