<input type="checkbox" id="chkCtrl"> 전체 선택 <br>
<input type="checkbox" name="chk">선택 1
<input type="checkbox" name="chk">선택 2
<input type="checkbox" name="chk">선택 3
var chkList = $("input[name=chk]");
$("#chkCtrl").click(function () {
$(this).is(":checked") == true ? chkList.prop("checked", true) : chkList.prop("checked", false);
});
This Pen doesn't use any external CSS resources.