jquery中的可编辑下拉列表 [英] editable dropdown in jquery

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

问题描述

我有一个要求,医生会在病人的名义上搜查。也可能有多名同名患者......所以当他开始搜索时,他必须得到一个匹配的所有患者的下拉他输入的名字。他必须能够从中选择,他必须仍能输入新的新搜索,下拉必须改变......我该怎么做。我说的是内联下拉列表。

I have a requirement where in the name of the patient will be searched by the doctor ..there may be multiple patients with same name also..so when he starts searching he must get a drop down of all the patients with matching names he has typed.and he must be able to select from it and he must be still able to type new new search and drop down must change ...how do I do this. I am talking of inline dropdown.

推荐答案

看看 jQuery UI自动完成。特别是,此演示(Combobox)看起来就像你想要做的那样。

Take a look at jQuery UI autocomplete. In particular, this demo (Combobox) looks like what you are trying to do.

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

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