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 *

1 × 3 =

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

You May Also Like

jQuery: Setting cookies

Setting and clearing cookies with jQuery is really easy but it's not included in the jQuery core and requires a plug-in. This post shows how to set, get the value of and clear cookies with jQuery.

Spectrum – Perfect jQuery Color Picker Plugin

Spectrum is a jQuery colorpicker plugin that probably comes with all the features you are looking for. It is image-free (only CSS and JS) and can be used for all browsers or only as a polyfill for the input[type=color] of HTML5.

qTip2 – Advanced jQuery Tooltip Plugin

qTip2 plugin can display the tooltip in any position wanted, plays nicely with image maps and they can be set to follow any element (handy for drag 'n' dropped and animated items) or mouse.