get values of checked checkbox 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();