简体   繁体   English

使用Javascript / JQuery的HTML中的组合框

[英]Combo box in HTML using Javascript/JQuery

I am looking for a plug-in or way to duplicate the default combo box from visual studio in C#, where you can select from a list or type in a new value. 我正在寻找一种插件或从C#中的Visual Studio复制默认组合框的方式,您可以在其中从列表中选择或键入新值。 I have found several plugins to "search" or act as an autocomplete for a select element, but I want the user to be able to see all options at any time through the drop down, and add their own through the text bar (or select an option then edit it, to either make a new option or permanently alter the selected option). 我发现有几个插件可以“搜索”或充当select元素的自动完成功能,但我希望用户能够通过下拉菜单随时查看所有选项,并通过文本栏添加自己的选项(或选择选项,然后对其进行编辑,以制作新选项或永久更改所选选项)。

Does anyone know such a plugin? 有人知道这样的插件吗?

I found this the other day, seems like it would meet your requirements: http://harvesthq.github.com/chosen/ 前几天我发现了这条消息,似乎符合您的要求: http//harvesthq.github.com/chosen/

(NOTE: I haven't used it yet so I can't comment on how well it works) (注意:我还没有使用过它,所以我无法评论它的运行情况)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM