好的Javascript组合框替换组合框与吨元素? [英] Good Javascript Combo Box replacement for combo boxes with tons of elements?

查看:105
本文介绍了好的Javascript组合框替换组合框与吨元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面,我的组合框有数百个元素,这使得我很难挑选我想要的一个项目。是否有更好的Javascript替代品会比

 < select id =field-componentname =field_component > 
< option selected =selected> 1< / option>< option> 2< / option> ...
< / select>

是否有与智能感知类似的自动完成功能?

解决方案



您有 dhtmlCombo ,使用Ajax在填写输入字段时检索数据。


dhtmlxCombo是一款带有自动完成功能的跨浏览器JavaScript组合框。

它扩展了基本的选择框功能,以满足最新的Web应用程序的要求。

dhtmlxCombo可以从现有的HTML SELECT转换或使用JavaScript填充。支持AJAX,它也可以从服务器数据源动态获取列表值

I have a page where my combo box has hundreds of elements which makes it very hard to pick the one item I want. Is there a good Javascript replacement that would do better than

<select id="field-component" name="field_component"> 
                  <option selected="selected">1</option><option>2</option>...
</select>

Is there something with "Intellisense"-like auto-complete?

解决方案


You have dhtmlCombo, using ajax to retrieve data when you are filling the input field.

dhtmlxCombo is a cross-browser JavaScript combobox with autocomplete feature.

It extends basic selectbox functionality to meet the requirements of the most up-to-date web applications.

dhtmlxCombo can be converted from existing HTML SELECT or populated with JavaScript. Supporting AJAX, it can also get list values from the server datasource dynamically.

这篇关于好的Javascript组合框替换组合框与吨元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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