` /全選複選框/ $("#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); }this
}) $("#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();
} }) }code
})rem
})
$("#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(); } }) }input
})io
$("#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(); }
}); }table
});`function