HTML / CSS / Javascript中的可编辑下拉列表 [英] Editable Dropdown in HTML/CSS/Javascript

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

问题描述

我需要在HTML / CSS / Javascript中创建/实现可编辑下拉列表。可编辑意味着我搜索/过滤下拉数据。请建议的方式。谢谢。

I need to create/implement Editable Dropdown in HTML/CSS/Javascript. Editable means I search/filter drop down data. Please suggest way for it. Thanks.

推荐答案

我希望你能找到这个;



https://www.zoonman.com/projects/combobox/ [ ^ ]
I hope you are looking for this;

https://www.zoonman.com/projects/combobox/[^]


虽然不清楚你想要什么,但我认为你的意思是具有自动完成功能的Dropdown。对?如果是,



- 正常的JQuery自动完成



- 在文本框右侧添加图像所以它看起来像下拉



- 文本框或图像的点击(无论你的要求是什么),添加这个
Though its not clear what you want,but i think you mean Dropdown with autocomplete functionality. Right? If it is,

- Make normal JQuery AutoComplete

- Add image to right of the textbox so that it looks like dropdown

- Onclick of the textbox or image(Whatever your requirement is), add this


(元素).autocomplete(search,)



- 将minLength属性设置为0并完成。



看看这里: ASP.net中的自动填充文本框 [ ^ ]



问候..
(Element).autocomplete("search", "")

- set minLength attribute to 0 and you are done.

Have a look here : Autocomplete Textbox in ASP.net[^]

Regards..


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

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