Obtener valor de la casilla de verificación seleccionada jQuery
$('#checkbox_id:checked').val();
//if checkbox is selected than gets its value
M. Wasim Abbasi
$('#checkbox_id:checked').val();
//if checkbox is selected than gets its value
console.log($('input[name="locationthemes"]:checked').serialize());
//or
$('input[name="locationthemes"]:checked').each(function() {
console.log(this.value);
});
$("#merge_button").click(function(event){
event.preventDefault();
var searchIDs = $("#find-table input:checkbox:checked").map(function(){
return $(this).val();
}).get(); // <----
console.log(searchIDs);
});