I am using jQuery UI Autocomplete .
Is there a way to override the default search algorithm?
The changes I want to make are as follows:
- The priority of words starting with a search query at the top of the proposed results.
- It returns a maximum of 5 results (instead of the default behavior, which should return all comparable results, potentially creating a really high drop-down list).
source
share