本文介紹了用于分隔標簽的插件(如 stackoverflow 的輸入標簽接口)的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我正在尋找一個類似于 Stack Overflow 的 tags 輸入界面的插件或簡單腳本.
I'm looking for a plugin or simple script that behaves like Stack Overflow's tags input interface.
特別是我需要將人們寫的單個單詞(標簽)分開.
In particular I need to separate the single words (tags) that people write.
推薦答案
有很多:
http://code.drewwilson.com/entry/autosuggest-jquery-plugin(斷開的鏈接 github鏈接)- http://bassistance.de/jquery-plugins/jquery-plugin-自動完成/
http://plugins.jquery.com/project/tag-it(鏈接失效 github鏈接)http://plugins.jquery.com/project/jquerytag(斷開的鏈接)
如果您正在尋找風格化且現成的解決方案,我建議您使用第一個選項.
如果您正在尋找更靈活、更完整的解決方案,那么第二種解決方案可能更合適.
If you are looking for a more flexible and complete solution, the second solution is probably a good fit.
這篇關于用于分隔標簽的插件(如 stackoverflow 的輸入標簽接口)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!