An open API service indexing awesome lists of open source software.

https://github.com/interviewstreet/autocomplete

An auto complete javascript plugin.
https://github.com/interviewstreet/autocomplete

Last synced: 4 months ago
JSON representation

An auto complete javascript plugin.

Awesome Lists containing this project

README

          

Interviewstreet Autocomplete
============

An auto complete javascript plugin that automatically queries for the following fields:

1. Companies

2. Countries

3. Schools

4. Cities

Prerequisites :
===========

Any javascript autocomplete library - currently supports jquery-ui.

Usage :
===========
Include the requisite autocomplete library like this:
` `
After this include the plugin:
` `
Now suppose we have a textarea with id `"auto"` like this:
``
To make this an autocomplete field, simply do this:
`$('#auto').ISAutoComp({'library':'jquery-ui'});`
Parameters :
============
1. `'library'` : Specifies which autocomplete library to use - Currently only 1 option `'jquery-ui'`
2. `'category'` : Specifies the category for autocomplete - Options are : `'school'`, `'country'`, `'city'`, `'company'`

Example :
============
Autocomplete field for schools:
``
`
$('#auto').ISAutoComp({'library':'jquery-ui','category':'school'});
`