28

I'm looking for a plugin or simple script that behaves like Stack Overflow's tags input interface.

In particular I need to separate the single words (tags) that people write.

alex
  • 438,662
  • 188
  • 837
  • 957
Dany
  • 2,290
  • 8
  • 34
  • 54
  • possible duplicate of [How can I set up JQuery autocomplete like Stackoverflow's tags input field?](http://stackoverflow.com/questions/519107/how-can-i-set-up-jquery-autocomplete-like-stackoverflows-tags-input-field) – Dave Jarvis Jun 22 '12 at 04:50
  • Thank me later - https://github.com/yairEO/tagify – vsync Oct 13 '16 at 22:00

4 Answers4

33

There are plenty:

  1. http://code.drewwilson.com/entry/autosuggest-jquery-plugin (broken link github link)
  2. http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
  3. http://plugins.jquery.com/project/tag-it (broken link github link)
  4. http://plugins.jquery.com/project/jquerytag (broken link)

If you are looking for a styled and ready solution, I'd recommend the first option.

If you are looking for a more flexible and complete solution, the second solution is probably a good fit.

kjbartel
  • 9,614
  • 5
  • 41
  • 64
Aron Rotteveel
  • 73,917
  • 17
  • 100
  • 128
  • 3
    +1 for the first link, since I found it surprisingly difficult to find a good solution through Google. – zenzelezz Nov 08 '11 at 10:33
  • 1
    I tried plenty of scripts, it took one day to find the simple one that does only read tags from an existing array (no JSON), here you go: https://github.com/bastianallgeier/tags – Avatar Sep 20 '13 at 08:59
  • https://github.com/tovic/tags-input-beautifier ← you could also set predefined values from the original input value and split it with comma, so that it becomes array, e.g. `{values:input.value.split(', ')}` – Taufik Nurrohman Jan 13 '16 at 14:00
  • You can add [Tagify](https://github.com/yairEO/tagify) to the list – vsync Oct 03 '18 at 08:18
12

Here are a few jQuery plugins that do what you want to do:

exexzian
  • 7,345
  • 6
  • 41
  • 50
Martin Buberl
  • 42,048
  • 25
  • 96
  • 139
3

Here is another jQuery plugin which does the same: http://textextjs.com/

ben
  • 191
  • 1
  • 10
2

Autocomplete + tags => http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/

demo

stecb
  • 13,412
  • 2
  • 47
  • 66