// all selected checkboxes as Array
var values = $('input:checkbox:checked.group1').map(function () {
return this.value;
}).get(); // ["18", "55", "10"]
// http://stackoverflow.com/questions/2099164/jquery-array-of-all-selected-checkboxes-by-class
// http://stackoverflow.com/questions/416752/select-values-of-checkbox-group-with-jquery