New course! Every coder should learn Generative AI!
Try a free lesson0
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?
1 Answer
- 1
document.getElementById('demo').value;