get all checked values from check boxes 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();