2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-26 06:46:32 +00:00

Fixed som doc typos

This commit is contained in:
Nils-Helge Garli Hegvik 2013-01-17 07:40:21 +01:00
parent 4ccc809a00
commit 4fce3383f3

View File

@ -106,10 +106,10 @@ supply just a string array for suggestions:
## Non standard query/results ## Non standard query/results
If your ajax service expects the query in a different format, and returns data in a different format then the standard response, If your ajax service expects the query in a different format, and returns data in a different format than the standard response,
you can supply the "paramName" and "transformResult" options: you can supply the "paramName" and "transformResult" options:
$('#autocomplete').autocomplere({ $('#autocomplete').autocomplete({
paramName: 'searchString', paramName: 'searchString',
transformResult: function(response) { transformResult: function(response) {
return $.map(response.myData, function(dataItem) { return $.map(response.myData, function(dataItem) {