function CheckAll() {
$('#tablelist td input[type="checkbox"]:not(:disabled)').attr('checked', 'true');
}
function Inverse() {
$('#tablelist td input[type="checkbox"]:not(:disabled)').each(function () {
$(this).attr("checked", !this.checked);
});
}
function UncheckAll() {
$('#tablelist td input[type="checkbox"]:not(:disabled)').removeAttr('checked');
}
转载于:https://www.cnblogs.com/liuxuewen/archive/2012/03/09/2387098.html