jQuery 选择框替换
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4021836/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
jQuery select box replacement
提问by cadaa
Im looking for a recommendation for jQuery select box replacement. Ive previously used the one over at BrainFault ( http://www.brainfault.com/jquery-plugins/jquery-selectbox-replacement/).
我正在寻找 jQuery 选择框替换的建议。我以前在 BrainFault ( http://www.brainfault.com/jquery-plugins/jquery-selectbox-replacement/)上使用过一个。
However, from using it and a little research into it, it is pretty bug ridden and would not recommended using it myself.
然而,从使用它和对它的一些研究来看,它充满了bug,不建议自己使用它。
Any advice appreciated!
任何建议表示赞赏!
采纳答案by jknair
try this : http://theuiguy.blogspot.com/2008/09/select-box-factory-20-for-jquery.htmledit the demo page : http://www.headcircus.com/uiguy/selectboxfactory/selectboxfactory.html(let it load)
试试这个:http: //theuiguy.blogspot.com/2008/09/select-box-factory-20-for-jquery.html编辑演示页面:http: //www.headcircus.com/uiguy/selectboxfactory/selectboxfactory .html(让它加载)
Update: http://gregfranko.com/jquery.selectBoxIt.js/this seems to be a better option
更新:http: //gregfranko.com/jquery.selectBoxIt.js/这似乎是一个更好的选择
回答by Greg Franko
SelectBoxItis a jQuery plugin that I just released that acts as an HTML select box replacment. It is themeable with either Twitter Bootstrap or jQueryUI and is jam packed with features.
SelectBoxIt是我刚刚发布的一个 jQuery 插件,用作 HTML 选择框替换。它可以使用 Twitter Bootstrap 或 jQueryUI 进行主题化,并且功能丰富。
回答by Keith K
Since jQuery UI 1.8 there has been an autocomplete control that has a combobox functionalitywhich replaces a select control.
回答by StefanNch
jQuery Selectbox pluginis a custom select box replacement inspired by jQuery UI source. You'll need jQuery 1.4.x or higher.
jQuery Selectbox 插件是受 jQuery UI 源启发的自定义选择框替换。您需要 jQuery 1.4.x 或更高版本。
Version (0.1.3) added support for:
版本 (0.1.3) 添加了对以下内容的支持:
- optgroup
- 'disabled' attribute on both 'option' and 'optgroup'
- custom speed
- 选择组
- 'option' 和 'optgroup' 上的 'disabled' 属性
- 自定义速度
It's hosted on Google Code.