$("#weaver").on("click", ".checkbox", function () {
var test = $(this).prop("checked");
if (this.checked) {
$(this).parentsUntil("tr").parent().siblings().find(".checkbox").each(function () {
if (test == this.checked) {
this.checked = false;
}
});
}
})
转载请注明原文地址:https://ipadbbs.8miu.com/read-47506.html