javascript - autocomplete ajax怎么配置,求教
ringa_lee
ringa_lee 2017-07-05 11:07:03
0
1
1070

autocomplete ajax怎么配置,求教

ringa_lee
ringa_lee

ringa_lee

全部回复(1)
大家讲道理
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...

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板