Answers for "retrieve data from option select js"

0

retrieve data from option select js

//For <select id='brew'> with multiple options :
var brew = document.getElementById('brew');
var myImportantValue = brew.options[brew.selectedIndex].value;
Posted by: Guest on October-01-2020

Code answers related to "retrieve data from option select js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language