jQuery的组合框/自动完成选择? [英] jQuery Combobox/select autocomplete?

查看:162
本文介绍了jQuery的组合框/自动完成选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

做了jQuery插件存在替代选择/组合框?

Does a jQuery plug-in exist for replacing select/combo box?

我试过SexyCombo,这是接近我想要的,但如果你是从中间写,只能从一开始就没有完成。

I tried SexyCombo, and it is as close to what I want, but it doesn't complete if you are writing from middle, only from beginning.

我有2个级别类别(20个顶级类别,并在总120类别的子类别),因此,当用户提交的条目,他必须尽快找到所需的类别。

I have 2 levels of categories (20 top level categories, and with subcategories in total 120 categories), so when user is submitting an entry, he must find desired category as soon as possible.

所以... 2级+自动完成填充文本即使你写中间字母。

So... 2 levels + autocomplete populate text even if you write middle letters.

或任何其他解决方案?

推荐答案

看一看jQueryUI的自动完成功能的下面的例子,因为它是一个保持周围选择,我认为这是你在找什么。希望这有助于。

Have a look at the following example of the jQueryUI Autocomplete, as it is keeping a select around and I think that is what you are looking for. Hope this helps.

<一个href=\"http://jqueryui.com/demos/autocomplete/#combobox\">http://jqueryui.com/demos/autocomplete/#combobox

这篇关于jQuery的组合框/自动完成选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆