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 www.nicesnippets.com #
 
PREVIOUS NEXT
Tagged: #jquery #checked #checkboxes
ADD COMMENT
Topic
Name
4+9 =