Can you put a class on the checkboxes? Then you can do:
return $("input.myclass:checked").size();
-- Josh
----- Original Message -----
From: "wattaka" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Thursday, October 25, 2007 12:34 PM
Subject: [jQuery] Validating checkboxes
Hi all,
how does one validate that a user checks at least one checkbox from a
group of checkboxes. I have seen the example on Jörns site, but the
example has the same names for all checkboxes, I cant have the same
name for all checkboxes due to the backend code.
Thanks