Twitter has open sourced a very nice project – Typeahead.js – for building smart auto-complete form fields.

It comes as a jQuery plugin, shows suggestion as-users-type and can feature top suggestions with the help of styling.

Typeahead.js

The plugin can work with both local or remote datasets and it is optimized for speed as it can prefetch the dataset, store it on the client-side and run the queries quickly.

Typeahead.js simply converts any textfield into an auto-complete field, accepts JSON as the data source and has various settings for optimizing remote requests (rate limiting, maxConcurrentRequests, etc.).

 

Requirements: jQuery
Compatibility: All Major Browsers
Website: http://twitter.github.com/typeahead.js/
Download: https://github.com/twitter/typeahead.js
0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

9 + seven =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

10+ Useful jQuery Scrollbar Plugins

jQuery scrollbar plugins makes it possible to add cool scrollbars to content areas within your pages. This can be really useful in some cases but should also be used with great care.

Detect screen size with jQuery and apply a CSS style

Sometimes we need to format the content differently according to the screen resolution of the user. One of the ways to do this is to simply detect the screen width using the screen.width property and change the stylesheet.