Get number of checkboxes that are checked in Javascript

Posted by DCD on Stack Overflow See other posts from Stack Overflow or by DCD
Published on 2010-04-23T09:00:01Z Indexed on 2010/04/23 9:03 UTC
Read the original article Hit count: 155

Filed under:
|
|
|

I am trying to make a javascript function (although jquery is perfectly OK) that will return a number that corresponds to the number of checkboxes checked in a form. Seems simple enough but I can't figure out a good way of doing it.

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery