如何制作标签文本框 [英] How to make tag text box

查看:98
本文介绍了如何制作标签文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在stackoverflow中,当我们发帖时,我们可以看到一个文本框标签。

In stackoverflow we can see a text box 'Tags' when we do a post.

在输入单词和空格时,它会成为标签。成为标签后,我们继续删除单词中的字母。但是我们可以通过单击X图像来删除单词本身。

On typing a word and a space it become a tag. After becoming a tag we cont delete a letter from a word.But we can delete the word itself by clicking on the X image.

我想创建一个类似的文本框用于标签。
在stackoverflow中有自动建议也与此文本框相关联,但我不需要。

I want to create a similar text box for tags. In stackoverflow there is auto suggest also associated with this text box but Idon't need that.

任何帮助/链接将不胜感激

Any help /link will be appreciated

推荐答案

这些网上有很多这样的东西。我发现有些人很容易使用Google。例如,看看这个:

There are a whole host of these online. I found some using Google quite easily. Check out this one for example:

http: //xoxco.com/projects/code/tagsinput/

这篇关于如何制作标签文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆