I'm using jQuery UI Autocomplete.
Is there a way to override its default search algorithm?
The changes I want to make are:
Normally, it all should be done in back-end. Your server-side script defines in what order and how many results will be returned.
Alternatively (if back-end is not under your control), you can specify function as source
attribute. In this function you can query back-end and process results in whatever way your want. E.g., here's an example
http://jqueryui.com/demos/autocomplete/#multiple-remote
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With