可编辑组合框 [英] editable combo box

查看:209
本文介绍了可编辑组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须创建一个可编辑的组合框。组合框包含名称,年龄和城市。用户可以输入名称,年龄或城市。组合框必须过滤所有列表包含并应显示相对列表。

I have to create an editable combobox. The combobox contains name, age and city. The user can enter either name, age or city. The combobox has to filter all the list contain and should show relative list.

例如:


Combobox contains  : xxx 23 ny, yyy 24 London, zzz 25 delhi, uuu 25 columbo.
Here user enter 25 : combo box has to show zzz and uuu rec


推荐答案

您想要的是 JQuery的自动填充演示和更新的文档)小部件。

What you want is JQuery's autocomplete (demo and updated docs) widget.

查看组合框示例

这篇关于可编辑组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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