Locate the following code:
Copy Code code as follows:
. Bind ("Blur.autocomplete", function (event) {
if (self.options.disabled) {
Return
}
Cleartimeout (self.searching);
Clicks on the menu (or a button to trigger a search) would cause a blur event
self.closing = settimeout (function () {
Self.close (event);
Self._change (event);
}, 150);
});
Replace with:
Copy Code code as follows:
. Bind ("Blur.autocomplete", function (event) {
if (self.options.disabled) {
Return
}
Cleartimeout (self.searching);
Clicks on the menu (or a button to trigger a search) would cause a blur event
self.closing = settimeout (function () {
Self.close (event);
Self._change (event);
}, 150);
). Bind (' input ', function (c) {//jquery UI AutoComplete 1.8.* Chinese input correction
Self.search (Self.item);
});
Through experience, in 1.8.16-1.8.23 (currently the latest version), can be achieved