javascript Google+ 样式自动完成 + 下拉 jQuery 插件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10333468/
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
Google+ style autocomplete + dropdown jQuery plugin
提问by Ayyoudy
I am looking for a jQuery plugin that behaves like the Google+ autocomplete + dropdown. In G+, I can enter a person's name and it'll look in my circles and show me a list of matches, or I can click the dropdown arrow at the end of the input box to get a list of all possible names that I can select from. I was able to find plugins that do the autocomplete, but nothing that mixes that with a dropdown functionality to show you all possible names. Any ideas?
我正在寻找一个 jQuery 插件,它的行为类似于 Google+ 自动完成 + 下拉菜单。在 G+ 中,我可以输入一个人的姓名,它会在我的圈子中查看并向我显示匹配列表,或者我可以单击输入框末尾的下拉箭头以获取我可以使用的所有可能姓名的列表从中选择。我能够找到执行自动完成功能的插件,但没有将它与下拉功能相结合以显示所有可能的名称。有任何想法吗?
回答by coffeeyesplease
You can also try the chosen component. http://harvesthq.github.com/chosen/It's a very nice piece of UI
您也可以尝试选择的组件。 http://harvesthq.github.com/chosen/这是一个非常好的用户界面
回答by kayen
Try jQueryUI Autocomplete: http://jqueryui.com/demos/autocomplete/
尝试 jQueryUI 自动完成:http: //jqueryui.com/demos/autocomplete/