Find the following code:
Copy codeThe Code is 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) will cause a blur event
Self. closing = setTimeout (function (){
Self. close (event );
Self. _ change (event );
},150 );
});
Replace:
Copy codeThe Code is 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) will 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 );
});
After experience, it can be implemented in 1.8.16-1.8.23 (the latest version ).