Search
 
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
Name
2+4 =