This is not jQuery and Javascript. jQuery is just cleverly written javascript designed to make your life easier, and it does just that. In fact, instead of creating an auto-suggestion element from scratch, you can download the autosuggest plugins created with / for jQuery.
As for working with 10,000 items, I think I would turn off asynchronous requests while the user types to get specific items. If the user enters “application”, you can find all keywords that begin with “application” and return them as populations in the startup field. This would significantly reduce bandwidth and load time.
source share