106
rated 0 times
[
112]
[
6]
/ answers: 1 / hits: 90124
/ 11 Years ago, wed, february 27, 2013, 12:00:00
<form name='form1' >
<input type=checkbox name='cbox[]' />
</form>
<script>
var checkbox = document.getElementsByName('ckbox[]')
var ln = checkbox.length
alert(ln)
</script>
How can I count only the checked checkboxes with JavaScript or jQuery?
More From » jquery