[jQuery] simple test if all checked BEGINNER
Hello I sucessfully implemented a test to see if all checkboxes are
checked:
$("form#form1").submit(function() {
var anzahl = $("#form1 input:checked").length;
if (anzahl=="7"){$("#all").show(500);}
return false;
});
I think this can be done more elegant, because when the number of
checkboxes change, I have to change my code. Not sexy....
Thanks in advance
Thomas