62,046
社区成员
发帖
与我相关
我的任务
分享
// 删除按钮
$('#BtnDelete').click(function() {
var msg = confirm("确定删除吗?");
if (msg) {
var strids = "";
$("input[type=checkbox]:checked:not('#CheckAll')").each(function() {
// 获得ID
strids += $(this).parent().next("td").next("td").html() + "|";
//$('#Hidden7').val(strids);
});
$.ajax({
type: "get",
//请求方式
url: "../ajax/AjaxDeleteRes.ashx",
//载入页面的URL地址
data: {
id: strids,date:new Date().getTime()
},
success: function(data) { //返回成功的函数
if (data.toString().substring(0) == "0") {
alert('删除成功!');
FN_SerchByDate();
}
}
});
}
});