User search function to autocomplete jQuery user interface

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).
+5
source share
1 answer

, . script , .

( back-end ), source. , . , http://jqueryui.com/demos/autocomplete/#multiple-remote

+2

All Articles