How to get selected value from Dropdown list in javascript
<p>Hei
How to get selected value from drop down list in javascript . i have tried as follows but its not working </p>

<pre><code>var sel = document.getElementById('select1');
       var sv = sel.options[sel.selectedIndex].value;
       alert(sv);
</code></pre>
