'How to select more than one radio button in javascript? [closed]
I am trying to create students attendance class base using javascript in laravel 8 so javascript search and show successfully all students from specific class but I couldn't select more than one radio button so what can I do?
Solution 1:[1]
the difference between checkboxes and radio buttons:
checkboxes are used when the user can select one or more options,
radio buttons are used when the user can choose only one of two or more options.
You are probably needing to change your radio buttons to checkboxes.
Solution 2:[2]
Maybe this is what you can: Radio buttons selecting multiple options. But you can use checkboxes are used when you can select one or more options
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Angelin Calu |
Solution 2 | Linh Thien Nguyen |