Select data using arrow keys,from ajax suggestion text box
<p>I am having a input text box, in which user enters some data and presses enter key. Then some suggestion are shown ,then the user should be able to select values from these suggestions using arrow keys. Then he selects a data from suggestions using enter key and this selected value should be shown in the input text field.
   I am able perform all this using mouse, but now i want to do this using arrow keys. This is  how i implemented enter key event using jquery.</p>

<pre><code> $('#dishes').keydown(function (e){
    if(e.keyCode == 13){
       menusearch('dishes','&lt;?=$user_id?&gt;') ;
    }
}) 
</code></pre>

<p>I am looking something along these lines.</p>
