How to configure autocomplete ajax, please advise
大家讲道理2017-07-05 11:09:03
var options = {
serviceUrl: "",
type: "",
dataType: "",
deferRequestBy: "",
minChars: ,
width: "",
onSearchStart: function(query) {},
onSearchError: function() {},
transformResult: function(response) {},
onSelect: function(suggestion) {},
onSearchComplete: function() {}
};
$("#id").autocomplete(options);
For specific parameters, please see https://github.com/lonelyplan...