to find (1) 썸네일형 리스트형 [jQuery] to find checkbox and change attribute 1234567891011$(".Chk_Choice").click(function () { var parentChildren = $(this).parent().parent().parent().children(); var parentAllChecked = false; var isChecked = $(this).is(":checked"); var checkboxId = $(this).attr("id"); $.each(parentChildren.find("input[type=checkbox]"), function (index, item) { if (checkboxId != $(item).attr("id")) { $(item).attr("disabled", isChecked); } }); });Colored by.. 이전 1 다음