How to access value of select element in JavaScript?
<p>I have a select element having values 10,25,50,100. Onclick of each i have to call a function .
So can you tell me how can I access the value of a select element when clicked or selected and pressed enter.</p>

<p>Here is my code for select element: </p>

<pre><code>&lt;select name='rows'&gt;
    &lt;option name = 'ten' value='10'&gt;10&lt;/option&gt;  
    &lt;option name='twofive' value='25'&gt;25&lt;/option&gt;
    &lt;option name='fifty' value='50'&gt;50&lt;/option&gt;
    &lt;option name='hundred' value='100'&gt;100&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>Thank you in advance.</p>
