How to get values of multiple checkbox in HTML from JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to get values of multiple checkbox in HTML from JavaScript?

How to get values of checkboxes in HTML from JavaScript and to make any one of the check box selection is mandatory?

9th Mar 2018, 2:49 PM
Naresh Routhu
Naresh Routhu - avatar
1 Answer
- 1
document.getElementById('demo').value;
9th Mar 2018, 3:18 PM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar