摘要:
首先是最重要的方法autocomplete(url or data,[options])第一个参数可以是数组或者url。options参数比较复杂:* minChars (Number): 在触发autoComplete前用户至少需要输入的字符数.Default: 1,如果设为0,在输入框内双击或者删除输入框内内容时显示列表* width (Number): 指定下拉框的宽度. Default: input元素的宽度* max (Number): autoComplete下拉显示项目的个数.Default: 10* delay (Number): 击键后激活autoComplete的延迟时间(
阅读全文