34

Is there any open source tag editor for jQuery that works like the tag editor in stack overflow?

1

9 Answers 9

24

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         |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+
2
  • 4
    Hi 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: goodies.pixabay.com/jquery/tag-editor/demo.html Looking forward to your feedback. Jul 16, 2014 at 10:33
  • @wilfred-springer anything else like Simon Steinberger's that you would now like to add to the list?
    – melutovich
    Jun 27, 2018 at 20:00
11

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

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).

1
  • True - I would also like to see one that does per-word matching. I've done some searches but they came up empty. Mar 28, 2010 at 3:03
3

Tag Editor Field using jQuery similar to StackOverflow

3

you can try this: http://blog.crazybeavers.se/wp-content/Demos/jquery.tag.editor

1
2

Read This too:

JQuery Auto Suggest Serverside

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

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:

http://loopj.com/jquery-tokeninput/

1
0

Look at Tagedit it has autocomplete, edit existing tags, enter your own tags with a simple configurable API that you would expect in such as plugin

0

try with http://tagedit.webwork-albrecht.de/ it has also some good features.

Not the answer you're looking for? Browse other questions tagged or ask your own question.