find 和 .is用法
$this 是一个表格对象
如果表单是被选中 则抄找form表单下的 type=checkbox 并全部添加 checked
$(this).parents('form').find('input:checkbox').attr('checked',$(this).is(':checked'));
$this 是一个表格对象
如果表单是被选中 则抄找form表单下的 type=checkbox 并全部添加 checked
$(this).parents('form').find('input:checkbox').attr('checked',$(this).is(':checked'));