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