jquery get input value checkbox code example
Example 1: jquery get selected checkboxes
var selected = [];
$('#checkboxes input:checked').each(function() {
selected.push($(this).attr('name'));
});
Example 2: get the value of a checkbox jquery
$("input[type='checkbox']").val();
$('#check_id').val();