您的位置:首页技术文章
文章详情页

javascript - autocomplete ajax怎么配置,求教

浏览:44日期:2023-02-12 16:57:31

问题描述

autocomplete ajax怎么配置,求教

问题解答

回答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...

标签: JavaScript
相关文章: