最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Dropdown inside textboxtextarea - Stack Overflow

programmeradmin2浏览0评论

I am looking for something similar to friends filter in facebook. When you type '@' inside text area it shows you a list of friends to select. I have tried to search for dropdown inside textbox, but was not able to find what I was looking for.

I am looking for something similar to friends filter in facebook. When you type '@' inside text area it shows you a list of friends to select. I have tried to search for dropdown inside textbox, but was not able to find what I was looking for.

Share Improve this question asked Feb 4, 2014 at 13:19 TamerlaneTamerlane 2,1035 gold badges21 silver badges36 bronze badges
Add a comment  | 

5 Answers 5

Reset to default 10

I think you are searching for

http://podio.github.io/jquery-mentions-input/

Or

https://github.com/jakiestfu/Mention.js/

Another one

http://www.emposha.com/demo/fcbkcomplete_2/

Writing this in 2021

Many of the suggested libraries are not actively developed/supported, and haven't been touched in many years.

There is this library called tribute which might be of good help:

Working Example: https://zurb.github.io/tribute/example/

Github Repo: https://github.com/zurb/tribute

JQueryUI might be an option here, could just be for reference. JQuery UI autocomplete

This seems quite similar to your needs http://harvesthq.github.io/chosen/

After playing with all of these options, I have to say that at.js is far and away the better option. Both the podio library and the mentions.js library mentioned in the selected answer are hardly supported any more and full of issues. At.js has over 4000 stars on github, is actively developed, and is just a better piece of software.

http://ichord.github.io/At.js/

发布评论

评论列表(0)

  1. 暂无评论