get all checked checkbox value on button click jquery 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')