I'm trying to find out how many checkboxes have been checked but am having some trouble..
My checkboxes are all named delete[]
.
var count = ($('#form_store_setup input[name=delete]:checked').length);
...and this doesn't work at all:
var count = ($('#form_store_setup input[name=delete[]]:checked').length);
var count = ($('#form_store_setup input[name="delete[]"]:checked').length);
– Kelcie