The above effect can be achieved using the jQuery plug-in Typeahead.js. This jQuery plug-in comes from a new project of Twitter and supports remote and local data sets. The unique feature is that you can use local storage to save the data set locally, which effectively improves the user experience. It also has many options for handling remote data sets, such as (request frequency, maximum number of concurrent requests, etc.).
Main Features
Supports local data saving, client loading, optimized loading speed
Supports multiple languages and supports Arabic
Support Hogan.js template engine integration
Supports assembly of multiple data sets
Supports local and remote data sets
Project Address
http://twitter.github.io/typeahead.js
How to use
First introduce the jQuery framework and the related JS and CSS files of the Typeahead.js plug-in into the head of the web page
Then add the HTML element that you want to animate, such as
FinallyInitialization