return FALSE; $r = well_tag_thread__update(array('id' => $id), $update); return $r; } function well_tag_thread_find($tagid, $page, $pagesize) { $arr = well_tag_thread__find(array('tagid' => $tagid), array('id' => -1), $page, $pagesize); return $arr; } function well_tag_thread_find_by_tid($tid, $page, $pagesize) { $arr = well_tag_thread__find(array('tid' => $tid), array(), $page, $pagesize); return $arr; } ?>javascript - JQuery Facebook like Tag feature - Stack Overflow
最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - JQuery Facebook like Tag feature - Stack Overflow

programmeradmin1浏览0评论

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 badges
Add a ment  | 

1 Answer 1

Reset to default 9

Edit: 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.

发布评论

评论列表(0)

  1. 暂无评论