Question: how to get checked checkbox value 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);