Skip to content

Commit f1f104d

Browse files
committed
update for devbridge#36 - added documentation for option
1 parent 171744b commit f1f104d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ The standard jquery.autocomplete.js file is around 2.7KB when minified via Closu
3737
* `transformResult`: `function(response) {}` called after the result of the query is ready. Converts the result into response.suggestions format.
3838
* `autoSelectFirst`: if set to `true`, first item will be selected when showing suggestions. Default value `false`.
3939
* `appendTo`: container where suggestions will be appended. Default value `body`. Can be jQuery object, selector or html element. Make sure to set `position: absolute` or `position: relative` for that element.
40+
* `dataType`: type of data returned from server. Either 'text' (default) or 'jsonp', which will cause the autocomplete to use jsonp. You may return a json object in your callback when using jsonp.
4041

4142
##Usage
4243

0 commit comments

Comments
 (0)