Hi everyone!

I'm implementing the autocomplete plugin to improve my search from as
described in the documentation here:

http://docs.jquery.com/Plugins/Autocomplete#Search_Page_Replacement

The autocomplete plugin is correctly displaying a list of results
below my search field as I need.  However the topmost of these results
is automatically highlighted, so if a user hits the return key the
search field is updated with the highlighted result and then the form
submitted.

I need the list of results to appear without any of them highlighted
so hitting the return key submits the form without updating the text
in the search field.  I still need the search field to update, and the
form submit, if any of the results in the list are highlighted and
clicked manually.

I've read the documentation and it seems that overriding the .search()
might go someway to achieving the functionality I need but I'm have
difficulty understanding exactly how I implement the complete
functionality I need.

Will someone please point me in the right direction or even better
post an example so others can also benefit.

Many thanks, Matthew

Reply via email to