//JavaScript const atLeastOneCheckboxIsChecked = document.querySelectorAll('input[type="checkbox"]:checked').length > 0; //jQuery const atLeastOneCheckboxIsChecked = $('input[type="checkbox"]:checked').length > 0;