How can you get the selected value from drop down list using JavaScript? I have tried the following but it does not work.
var sel = document.getElementById(\
I would say change var sv = sel.options[sel.selectedIndex].value; to var sv = sel.options[sel.selectedIndex].text;
It worked for me. Directing you to where I found my solution Getting the selected value dropdown jstl