admin管理员组文章数量:1312888
Does anyone know of a very basic tag JQuery script? (Facebook like tag feature)
All I want to do is when I type @ in a text box for it to search an AJAX search, it then brings back a display name i.e. "Bob Johnson" and an associated Id and stores the Id in a ma delimited list.
So an example would be the following ....
[TextArea] [Name 1] [Name 2] [Name 3]
The thing is it also needs to remove this entry (Id) once the tag gets removed, also it needs to load into a DIV which has a scrollbar so that the list doesn't get to big.
If anyone know's how/if this is possible that would be great.
Thanks.
Does anyone know of a very basic tag JQuery script? (Facebook like tag feature)
All I want to do is when I type @ in a text box for it to search an AJAX search, it then brings back a display name i.e. "Bob Johnson" and an associated Id and stores the Id in a ma delimited list.
So an example would be the following ....
[TextArea] [Name 1] [Name 2] [Name 3]
The thing is it also needs to remove this entry (Id) once the tag gets removed, also it needs to load into a DIV which has a scrollbar so that the list doesn't get to big.
If anyone know's how/if this is possible that would be great.
Thanks.
Share Improve this question asked Jan 11, 2011 at 18:58 TechTech 411 silver badge4 bronze badges1 Answer
Reset to default 9Edit: I'm pretty much done with jQuery UI Tagging. The source
option works just like jQuery UI Autoplete's so you can pass a function to it that return an Array
or just pass an Array
directly.
本文标签: javascriptJQuery Facebook like Tag featureStack Overflow
版权声明:本文标题:javascript - JQuery Facebook like Tag feature - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741905697a2404129.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论