Question: how to get checked checkbox value by name in javascript?
Answer: $(document). ready(function() {
$('#select'). click(function() {
var values = $('input[type="checkbox"]:checked'). map(function() {
return $(this). val();
}). get(). join(',');
document. body. append(values);