Is there any open source tag editor for jQuery that works like the tag editor in stack overflow?
-
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:47
9 Answers
I have been looking at a bunch of options. None of them seemed to fit exactly what I was looking for. Here are are least some of the things I found.
Hope it helps
+--------------------+------+-----+-----+-------+-----+
|Toolkit |Tag-it|Tagit|Xoxco|Tagedit|Widen|
+--------------------+------+-----+-----+-------+-----+
|Setting tags |- |+ |+ |? |+ |
|programmatically | | | | | |
+--------------------+------+-----+-----+-------+-----+
|Getting tags out as |+ |+ |- |? |+ |
|an array | | | | | |
+--------------------+------+-----+-----+-------+-----+
|Editting existing |- |- |- |+ |+ |
|tags | | | | | |
+--------------------+------+-----+-----+-------+-----+
|Tab / cursor |- |- |- |- |- |
|selecting existing | | | | | |
|tags | | | | | |
+--------------------+------+-----+-----+-------+-----+
|Sorting tags |- |+ |- |+ |+ |
+--------------------+------+-----+-----+-------+-----+
|Placeholder text |- |- |+ |- |- |
+--------------------+------+-----+-----+-------+-----+
|Supporting comma |- |+ |- |+ |+ |
|inside tags | | | | | |
+--------------------+------+-----+-----+-------+-----+
- 10,593
- 4
- 49
- 69
-
4Hi Wilfried, I've just released a plugin that probably beats all of the listed ones. There would be a "+" on each row. I'd be happy if you'd take a look and - if you concur - include it in your answer: http://goodies.pixabay.com/jquery/tag-editor/demo.html Looking forward to your feedback. – Simon Steinberger Jul 16 '14 at 10:33
-
@wilfred-springer anything else like Simon Steinberger's that you would now like to add to the list? – melutovich Jun 27 '18 at 20:00
This library is really nice:
https://github.com/xoxco/jQuery-Tags-Input
Supports autocomplete too, and it plays well with jQuery UI (using it inside a jQuery UI Dialog at the moment).
- 3,303
- 24
- 31
The tag editor uses an "Autocomplete" feature - jQueryUI recently added this in version 1.8. It appears to be based on the classic jQuery autocomplete plugin by Jörn Zaefferer (I haven't compared the source, but the API seems pretty similar).
- 9,127
- 2
- 41
- 57
-
True - I would also like to see one that does per-word matching. I've done some searches but they came up empty. – James Kolpack Mar 28 '10 at 03:03
you can try this: http://blog.crazybeavers.se/wp-content/Demos/jquery.tag.editor
-
That link doesn't work for me, but this one does: http://blog.crazybeavers.se/wp-content/Demos/jquery.tag.editor/ – Chris Jan 13 '12 at 05:07
Read This too:
btw the best autosuggest for me is the one from www.brandspankingnew.net
http://www.brandspankingnew.net/archive/2006/08/ajax_auto-suggest_auto-complete.html
- 1
- 1
- 30,086
- 8
- 65
- 74
I doubt this is true for original poster, but for people who want end users to pick from a fixed universe of tags via autocomplete (without being able to add their own new tags), this is a potentially slick jQuery plugin:
- 9,496
- 6
- 43
- 55
-
Note, set the AllowFreeTagging boolean config to true and you get to insert new tags as well. It's undocumented, but you can search the git repo for some details https://github.com/loopj/jquery-tokeninput/pull/367 – Brian Webster Jan 18 '13 at 22:14