$("#checkall").change( if( $(this).is(":checked") ) { $(".check-id").prop("checked", true); } else { $(".check-id").prop("checked", false); } }); <input type="checkbox" id="checkall"/> <input type="..
[jQuery]전체 선택 checkbox에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
원문링크 : [jQuery]전체 선택 checkbox