Luigi,
This should work for you: var isChecked = false; $('.campi[name="license"]').each(function(){ if ( $(this).attr('checked') ) isChecked = true; }); SEAN O http://www.sean-o.com Ciupaz wrote: > > Hi all, > in my .aspx page I have a series of checkboxes for the driver license: > > > <input name="license" type="checkbox" value="A" />A > <input name="license" type="checkbox" value="B" />B > <input name="license" type="checkbox" value="C" />C > <input name="license" type="checkbox" value="D" />D > <input name="license" type="checkbox" value="E" />E > <input name="license" type="checkbox" value="F" />F > <input name="license" type="checkbox" value="K" />K > > > How can I validate that at least one of them is checked? (one or more). > > Thanks in advance. > > Luigi > -- View this message in context: http://www.nabble.com/Validation-CheckBoxes-group-tp22906364s27240p22908236.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.