Question: how to get checkbox checked value javascript?
Answer: document. getElementById('select'). onclick = function() { var checkboxes = document. getElementsByName('vechicle'); for (var checkbox of checkboxes) { if (checkbox. checked) document. body. append(checkbox. value + ' ');