Skip to content

Latest commit

 

History

History
62 lines (48 loc) · 1.21 KB

README.md

File metadata and controls

62 lines (48 loc) · 1.21 KB

jQuery MultiTypeahead Plugin

TODOs

  • Documentation (fiddle, examples, etc)
  • Offer a minimum style (if you are not using FlatUIPro)
  • Code cleanup - its my first jQuery plugin :)
  • ...

Depends on:

Features:

  • Multiple typeaheads
  • Remote sources (like typeahead.js)
  • Tokenize (allows only existing entries)
  • Flat-UI-Pro classes
  • ...

Examples

Simple

Just a bunch of tags:

$('#tags').multiTypeahead({
  name: "tags",
  valueKey: "name",
  remote: 'tags.json?q=%QUERY'
});

Tokenizer allows existing entries only:

$('#recipients').multiTypeahead({
  name: "recipients",
  valueKey: "name",
  remote: 'users.json?q=%QUERY',
  tokenizer: true,
  delimiter: [",", " "] // default
});

Version

0.1.1

License

MIT License, full text of license see here

Free Software, Fuck Yeah!