try this
<script type="text/javascript">
$(document).ready(function () {
$("#alert_button").click(function () {
var atLeastOneIsChecked = $('#checkArray :checkbox:checked').length > 0;
if (atLeastOneIsChecked == 0) {
jAlert('This is a custom alert box', 'Alert Dialog');
}
});
});
</script>