how to fetch value from <select> tag
<p>I have a list like</p>

<pre><code>&lt;select name="operation" id="operation"&gt;
  &lt;option value="1"&gt;XXXX&lt;/option&gt;
  &lt;option value="2"&gt;YYY&lt;/option&gt;
  &lt;option value="3"&gt;ZZZ&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I have to get value "XXXX" if user select an option 1, for 2nd I have to get show "YYYY" and so on. And format should be like in the above means i don't have to change value="1","2","3". I need it in javascript.
Thanks</p>
