kendrikat / jquery-multi-typeahead

Simple jQuery Token/Tags plugin - With typeahead support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Simple jQuery Token/Tags plugin - With typeahead support

License:MIT License


Languages

Language:JavaScript 100.0%