get all the values of checkbox using jquery 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();