开发者

jQuery Tag Editor? [closed]

开发者 https://www.devze.com 2022-12-25 01:40 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

Is there a开发者_如何学Cny open source tag editor for jQuery that works like the tag editor in stack overflow?


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.

  • Tag-it
  • Tagit
  • Xoxco
  • Tagedit
  • Widen Tagit

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         |      |     |     |       |     |
+--------------------+------+-----+-----+-------+-----+


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


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


Tag Editor Field using jQuery similar to StackOverflow


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


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


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/


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号