如何创建标签,如stackoverflow与文本样式 [英] how do you create tags like stackoverflow with text styling
本文介绍了如何创建标签,如stackoverflow与文本样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道如何在输入字段(如stackoverflow的标记系统)中创建css样式?
I was wondering how you can create css styling inside an input field such as stackoverflow's tagging system?
当您点击标签时,文本将被设置样式。此外,当您点击样式标记时,它将再次正常。我想我的主要关心是如何在输入字段中设置文本样式?
When you click on a tag, the text will be styled. And also, when you click on the styled tag, it will be normal again. I guess my main concern is how to style text inside an input field?
谢谢!
推荐答案
这可能会帮助您: http://basdebie.com/jquery-plugins/jquery-tags-autosuggest-like-delicious-stackoverflow-facebook/
查看此代码,你应该能够创建类似的东西,或者只是使用插件。
By looking at this code, you should be able to create something similar, or just use the plugin.
这篇关于如何创建标签,如stackoverflow与文本样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文