1     $("#checkAll").change(function () {
2         $(this).closest("table")
3                .find(":checkbox:not(:first)")
4                .prop("checked", this.checked);
5     });

 

相关文章: