2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-12-23 03:18:55 +00:00

Merge branch 'master' of github.com:devbridge/jQuery-Autocomplete

This commit is contained in:
Tomas Kirda 2013-01-20 15:18:31 -06:00
commit e2309c1533

View File

@ -108,10 +108,10 @@ supply just a string array for suggestions:
## 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:
$('#autocomplete').autocomplere({
$('#autocomplete').autocomplete({
paramName: 'searchString',
transformResult: function(response) {
return $.map(response.myData, function(dataItem) {