I have five checkboxes. Using jQuery, how do I check if at least one of them is checked?
<
This should do the trick:
function isOneChecked() { return ($('[name="service[]"]:checked').length > 0); }