You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The standard jquery.autocomplete.js file is around 2.7KB when minified via Closu
32
32
*`type`: Ajax request type to get suggestions. Default: `GET`.
33
33
*`noCache`: Boolean value indicating whether to cache suggestion results. Default `false`.
34
34
*`onSearchStart`: `function (query) {}` called before ajax request. `this` is bound to input element.
35
-
*`onSearchComplete`: `function (query) {}` called after ajax response is processed. `this` is bound to input element.
35
+
*`onSearchComplete`: `function (query, suggestions) {}` called after ajax response is processed. `this` is bound to input element. `suggestions` is an array containing the results.
36
36
*`onSearchError`: `function (query, jqXHR, textStatus, errorThrown) {}` called if ajax request fails. `this` is bound to input element.
37
37
*`onInvalidateSelection`: `function () {}` called when input is altered after selection has been made. `this` is bound to input element.
38
38
*`triggerSelectOnValidInput`: Boolean value indicating if `select` should be triggered if it matches suggestion. Default `true`.
0 commit comments