$(function() {
$(":checkbox").click(function() {
var v = this.checked;
$(this).parents("table").next("div").find(":checkbox").each(function() {
this.checked = v;
});
});
});
$(function() {
$(":checkbox").click(function() {
var v = this.checked;
$(this).parents("table").next("div").find(":checkbox").each(function() {
this.checked = v;
});
});
});
相关文章: