[jQuery] Hitting enter in Interface's Autocompleter suggestion box
Is it currently possible for the Interface plugin's Autocompleter to
trap "enter" key presses so that the highlighted suggestion is selected
per usual but then the form is not submitted? Without using autofill, it
appears that there are two ways to select a suggestion -- clicking with
the mouse and pressing the enter key. Unfortunately, in the latter
situation, the browser only knows that a text input is focused and the
enter key was pressed, so the form gets submitted.
I know how to trap for the enter key separately, but I was hoping I
could utilize some feature of the Autocomplete plugin that was already
built.
Thanks.
m.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/