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