` /全选复选框/ $("#checkAll").click(function(){ if(this.checked){ $("table tr td input[type=checkbox]").attr("checked",true); }else{ $("table tr td input[type=checkbox]").attr("checked",false); }
})
$("#bt").click(function(){
/*获取除全选外的所有选中复选框*/
var intL=$("table tr td input:checked:not('#checkAll')").length;
if(intL!=0){
$("table tr td input[type=checkbox]:not('#checkAll')").each(function(index){
if(this.checked){
$("table tr[id="+this.value+]").remove();
} }) }
})
})
$("#bt").click(function(){ /获取除全选外的所有选中复选框/ var intL=$("table tr td input:checked:not('#checkAll')").length; if(intL!=0){ $("table tr td input[type=checkbox]:not('#checkAll')").each(function(index){ if(this.checked){ $("table tr[id="+this.value+]").remove(); } }) }
})
$("#bt").click(function(){
/*获取除全选外的所有选中复选框*/
var intL=$("table tr td input:checked:not('#checkAll')").length;
if(intL!=0){
$("table tr td input[type=checkbox]:not('#checkAll')").each(function(index){
if(this.checked){
$("table tr[id="+this.value+]").remove();
}
}); }
});`