Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/honza/suggestr.js

The dead simple javascript autocompleter
https://github.com/honza/suggestr.js

Last synced: about 6 hours ago
JSON representation

The dead simple javascript autocompleter

Awesome Lists containing this project

README

        

Suggestr.js
===========

Suggestr.js is a dead simple, no configuration javascript autocompleter. Drop
it in your project and it will work. No nonsense. No bloat.

Usage
-----

### jQuery

```js
$('#your-cool-input-field').suggestr(['John', 'Peter', 'Mark']);
```

### Pure JS

```js
var el = document.getElementById('input');
suggestr(el, ['John', 'Peter', 'Mark']);
```

License
-------

BSD. Short and sweet.