jQuery UI Autocomplete 1.8.16中文输入修正

邢博涛
2023-12-01


如下代码

}).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);
			})
 类似资料: