We can use querySelectorAll to solve this problem: In addition to the above example, you can also get value for multiple selections. The value property only has meaning when submitting a form. When you use it in your form and try to read all checked values as any other elements like – text box, text area, radio button, etc. Definition and Usage. The function receives the object with that form, then, returns an Array with the value of each selected /checked checkbox into that