标签:
/* 全选或全不选 */ function CheckedAllOrNo() { var arr = $(‘:checkbox‘); for (var i = 1; i < arr.length; i++) { arr[i].checked = arr[0].checked; } }
html checkbox全选或者全不选
原文地址:http://www.cnblogs.com/guxingzhe/p/5234374.html