jQuery UI Autocomplete 1.8.16 中文输入修正代码

时间:2012-04-16    点击:92   
找到如下代码
复制代码 代码如下:

}).bind("blur.autocomplete", function (c) {
if (!a.options.disabled) {
clearTimeout(a.searching);
a.closing = setTimeout(function () {
a.close(c);
a._change(c)
}, 150)
}
})

改为
复制代码 代码如下:

}).bind("blur.autocomplete", function (c) {
if (!a.options.disabled) {
clearTimeout(a.searching);
a.closing = setTimeout(function () {
a.close(c);
a._change(c)
}, 150)
}
}).bind('input',function (c) {
a.search(a.item);
})

这样,输入中文就会立刻搜索了。
Extjs中ComboBox加载并赋初值的实现方法
利用json获取字符出现次数的代码
解决Extjs上传图片无法预览的解决方法
js querySelector和getElementById通过id获取元素的区别
JavaScript打开word文档的实现代码(c#)
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved