jquery get all values from checked checkboxes code example
Example 1: get value of all checked boxes jquery
var values = $('input[name=grepperRocks]:checked')
.map(() => { return this.value }).get();
Example 2: jquery get all checkbox checked
$('.theClass:checkbox:checked')