3分钟写出来的Jquery版checkbox全选反选功能
++复制代码++ 代码如下: //反选 function selectnoALL() { $("input:checkbox").each(function (i) { if (this.checked) { this.checked = false; } else { this.checked = true; ...
++复制代码++ 代码如下: //反选 function selectnoALL() { $("input:checkbox").each(function (i) { if (this.checked) { this.checked = false; } else { this.checked = true; ...