大家讲道理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);
具體可以參數可以看看 https://github.com/lonelyplan...