Skip to content

Commit a279fe9

Browse files
author
Tomas Kirda
committed
Update documentation, fixes #557
1 parent 72b2758 commit a279fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The standard jquery.autocomplete.js file is around 13KB when minified.
3030
* `noCache`: Boolean value indicating whether to cache suggestion results. Default `false`.
3131
* `delimiter`: String or RegExp, that splits input value and takes last part to as query for suggestions.
3232
Useful when for example you need to fill list of comma separated values.
33-
* `onSearchStart`: `function (query) {}` called before Ajax request. `this` is bound to input element.
33+
* `onSearchStart`: `function (params) {}` called before Ajax request. `this` is bound to input element.
3434
* `onSearchComplete`: `function (query, suggestions) {}` called after Ajax response is processed. `this` is bound to input element. `suggestions` is an array containing the results.
3535
* `onSearchError`: `function (query, jqXHR, textStatus, errorThrown) {}` called if Ajax request fails. `this` is bound to input element.
3636
* `transformResult`: `function(response, originalQuery) {}` called after the result of the query is ready. Converts the result into response.suggestions format.

0 commit comments

Comments
 (0)