get value from checkbox javascript code example
Example: how to take value only from the checked checkbox
$(document).ready(function() {
$('#select').click(function() {
$('input[type="checkbox"]:checked').each(function() { // $(':checkbox:checked')
document.body.append(this.value + ' '); // $(this).val()
});
});
});