jquery get value checkbox checked
snippet in javascript

jquery get value checkbox checked

user5554

console.log($('input[name="locationthemes"]:checked').serialize());

//or

$('input[name="locationthemes"]:checked').each(function() {
   console.log(this.value);
});

get value of checked checkboxes jquery

user6072

var values = $('input[name=grepperRocks]:checked')
               .map(() => { return this.value }).get();