DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get selected option from select javascript
const selectedValue = document.getElementById("color-id").value;
Source by javascriptf1.com #
PREVIOUS
NEXT
Tagged:
#selected
#option
#select
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit