showing results for - "retrieve data from option select js"
Andrea
17 Jan 2019
1//For <select id='brew'> with multiple options :
2var brew = document.getElementById('brew');
3var myImportantValue = brew.options[brew.selectedIndex].value;