简体   繁体   English

用于标记的文本区域(不是HTML标记)

[英]Textarea for tagging (not HTML tags)

Googling for this is very, very frustrating. 对此进行谷歌搜索非常非常令人沮丧。 Whenever I search for the word tag and editor, or textarea, or textfield, I end up at some Wysiwyg editor for HTML. 每当我搜索单词标签和编辑器,textarea或textfield时,我都会遇到一些用于HTML的Wysiwyg编辑器。

But I'm looking for a javascript plugin which allows me to edit and add tags, in a form. 但我正在寻找一个JavaScript插件,该插件可让我以表单的形式编辑和添加标签。 Tags like below this post. 标签如这篇文章下面。 You type in the first letters and get a selection of tags, or keywords, or whatever. 您输入第一个字母,然后选择一个标签或关键字,或其他。

what I need is a similar drop-in jQuery plugin for a text-area. 我需要的是类似的用于文本区域的jQuery插件。 Tumblr had it, too, until they changed it recently. Tumblr也拥有它,直到他们最近对其进行了更改。

Anyone can help? 有人可以帮忙吗?

what are you looking for is here ... 你在寻找的是在这里 ...

Taginputs is easy to use, fully documented, built in jquery and fully customizable... simlilar to the stackoverflow's tag input..:)... Taginputs易于使用,完整记录,内置jquery和完全可自定义...类似于stackoverflow的标签输入..:)...

you can use both textarea or div to display the tags... 您可以同时使用textarea或div来显示标签...

You need the jQuery Autocomplete plugin. 您需要jQuery Autocomplete插件。

http://jqueryui.com/autocomplete/ http://jqueryui.com/autocomplete/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM