get all selected checkbox value by name in javascript 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')