//反選
function selectnoALL($ ("input:checkbox").each(function (i) {
if (this.checked) {
this.checked = false;
} else {
this.checked = true;
}
});
}
//全選
function selectALL() {
var chelength = $("input:checkbox").length;
$( "input:checkbox").each(function (i) {
if (i this.checked = true;
}
});
}
3分鐘寫出來的估計很多bug