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(\
Here is a simple example to get the selected value of dropdown in javascript
First we design the UI for dropdown
---SELECT--- JAVA C C++ PERL Next we need to write script to get the selected item
Next we need to write script to get the selected item