If have a group of checkboxes and you need to see how many are selected, or if any are selected at all, use the CSS :checked selector with jQuery: