DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Get the value of selected radio button
const selectedColor = document.querySelector('input[name="color"]:checked').value;
Source by javascriptf1.com #
PREVIOUS
NEXT
Tagged:
#Get
#selected
#radio
#button
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit