替代mcdropdown [英] Alternative to mcdropdown
问题描述
我建立一个自动完成下拉列表,用户可以从类别在几个层次上挑。
I'm building an autocomplete dropdown list where the user can pick from categories in several levels.
在该网站的previous版本中,我们使用 HTTP://www.givainc .COM /实验室为此它工作得很好/ mcdropdown_jquery_plugin.htm 。然而,它似乎不支持更高版本的jQuery。我试图黑客的lib,拆卸和更换一些功能它八九不离十工作,但引入了新的问题。
On the previous version of the site, we used http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm for this which worked fine. However it doesn't seem to support higher versions of jQuery. I tried hacking the lib, removing and replacing some features which sorta worked, but introduced new issues.
我不知道是否有什么好的办法在那里(我已经看了,但没有发现任何东西至今)或如何一会去建立一个分层的下拉这样吗?
I'm wondering if there are any good alternatives out there (I've looked but haven't found anything so far) or how one would go about building a hierarchical dropdown like this?
推荐答案
如何选择二?这是不同的视觉,但我认为,搜索功能比周围的点击速度。它也显示在一个垂直格式的子类别。
How about Select2? It's different visually, but I think that the search functionality is faster than clicking around. It also displays subcategories in a vertical format.
这篇关于替代mcdropdown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!