js get data from select code example
Example: 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;
//For <select id='brew'> with multiple options :
var brew = document.getElementById('brew');
var myImportantValue = brew.options[brew.selectedIndex].value;