jQuery-Autocomplete icon indicating copy to clipboard operation
jQuery-Autocomplete copied to clipboard

Variable to turn on or off client side search.

Open nic335 opened this issue 12 years ago • 1 comments

Hi, My json response from my website is already the searched result.

In that case if I enter "lxt211" as search query. json will return me some result, like lxt211x lxt218x let say.

But if i enter makita lxt211 as search string and the server is still responding lxt211x lxt218x well autocomplete dont show those choise as the do not match the search string that is makita lxt211

It could be very cool if the search function on the client could be disabled. and if it is already possible can you please point to me how ? as i read all api var and no var look like was doing the job for me.

thanks for any help or change.

nic335 avatar Feb 03 '14 21:02 nic335

Client side and server side are two diferent modes. If you specified serviceUrl then it only displays results that are coming from the server side. Autocomplete will display anything that server has returned.

If there are no results for a query, it will not execute ajax further if you keep typing. To change that behaviour set preventBadQueries to false.

tkirda avatar Feb 03 '14 21:02 tkirda