I have implemented the jquery ui autocomplete as in the example: autocomplete with custom data and diplay
I have some problems with the focus. The users continue to type in the box with the mouse over the menu so I want to remove the focus. The problem is that as soon as I comment the //focus: when the user select an Item it doesn't fire the select event but just the changeEvent and the ui item is null so I can't know who was the selected Item.
Any help appreciated.
只需评论一下焦点:部分,但请确保没有.blur或.change的处理程序(如果有),则jQuery ui自动完成功能不会应用所选的值,并且不会触发select处理程序
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.