[jQuery] Re: Validate groups of checkboxes

2009-06-29 Thread Charlie
no idea what your groups look like but since all you need is one and don't care where it is something like this should help if($("div:has('input:checked')").length>0) {                 alert(" We got a Winner!!  " );                 }                 else{ alert(" Come on! check at least one

[jQuery] Re: Validate groups of checkboxes

2009-06-29 Thread Mean Mike
can you break it down to say two or three let me see how you have the html for those set up ? On Jun 29, 3:47 pm, Maged Makled wrote: > Hey All, >              I have 30 groups of checkboxes and want to validate that > the user select at least one checkbox from any group meaning if he > selected