Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

loop through checkboxes jquery

$('input[type=checkbox]').each(function () {
    sList += "(" + $(this).val() + "-" + (this.checked ? "checked" : "not checked") + ")";
});
 
PREVIOUS NEXT
Tagged: #loop #checkboxes #jquery
ADD COMMENT
Topic
Name
7+6 =