$checkbox.click(function(){ $items.prop("checked",this.checked); });
$checkbox要是jQuery, this就是原生dom对象, 等于document.getElementById('checkboxid')
87,993
社区成员
224,694
社区内容
加载中
试试用AI创作助手写篇文章吧