jQueryUI Autocomplete - selecting an element, even if not hovered

jQueryUI Autocomplete - selecting an element, even if not hovered

Hello,

I face a small issue with jQueryUI autocomplete.

Elements become shown as desired, meaning I see the suggestions for what the Im currently typing. Now I would like to make it possible to react and user Input (using a onkeyup listener) and watching for a return - to select an element and activate that option.

I was looking at http://api.jqueryui.com/autocomplete/ but there is some problem in the underlaying code:
- In order for an element to be selected and activated, the mouse is forced to be hovered over an element (I would like to shorten that process by simply reacting on a return)

- In the API is now way to select/activate an item through code - there is only the select/change events, but I would like to make a selection even without any selection is hovered over.

Is there a chance that such a functionality can be implemented (given that I have already filtered out the elements I dont find suitable for the inputted string) ?

Regards
janrie