<input id="autocomplete"/> <input id="submit" type="submit"/>
var source = ['One', 'Two', 'Three', 'Four'];
var firstVal = source[0];
$("input#autocomplete").autocomplete({
minLength: 0,
source: source
}).focus(function() {
$(this).autocomplete("search", "");
});
热门信息
阅读 (170)
1 ASP 微信公共平台接口实现代码阅读 (167)
2 ASP+AJAX实现分页效果[Z]阅读 (161)
3 jquery插件之DataTables 详细参数说明阅读 (151)
4 实现多条件模糊查询SQL语句阅读 (148)
5 提高IIS+ASP网站安全性的方法