Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery get all checked checkboxes

var values=[];
$('input[name="your-checkbox-name[]"]:checked').each(function () {
  values[values.length] = (this.checked ? $(this).val() : "");
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #checked #checkboxes
ADD COMMENT
Topic
Name
1+6 =