$(function(){
$("#check").click(function () {
// 全选中
if (this.checked) {
$("input:checkbox").each(function () {
$(this).prop("checked", true);
});
} else {
// 全不选中
$("input:checkbox").each(function () {
$(this).prop("checked", false);
});
}
});
});
3万+



被折叠的 条评论
为什么被折叠?



