首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月18日

摘要: $('selector').autocomplete ({ minLength: 0, source: function (t, r) { // get list here } }) .focus ( function() { if (this.value == "") { $(this).autocomplete('search', ''); } } );感谢:http://www.sikosoft.com/item/activate_jquery_autocomplete_on_focus 阅读全文

posted @ 2013-04-18 15:49 达奇 阅读(360) 评论(0) 推荐(0) 编辑