Looking at a form ( id = "my_form"
), how do I loop on all checkboxes Can I do the form, it has been checked whether the given check has been done or not and for grabbing its name / value?
I know how to check a checkbox status according to its value, but I already need a loop without checking which checkbox exists. Thank you.
Example:
$ ( '# My_form: checkbox') (each (function () (if (this.checked) {warning ('checked:' + this.name + '' + this.value);} else {warnings ('not checked : '+ This.name +' + this.value);}}};
Comments
Post a Comment