how to change values of a dropdown on key press using JavaScript
<p>I need to change values of a "Focused" drop-down on keypress using JavaScript.</p>

<p>I need,</p>

<ol>
<li>How I get a focused drop-down or how I can check whether the drop-down has focus.</li>
<li>How to change this drop-down values in key press like 1,2,3 etc. using JavaScript.</li>
</ol>

<p>Thanks in advance.</p>
