在HTML下拉控件中是否有最大数量的选项(值)? [英] Is there a max number of options (values) in HTML drop down control?

查看:148
本文介绍了在HTML下拉控件中是否有最大数量的选项(值)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道下拉列表中有多少个选项?是无限的?有没有人知道下拉列表中有多少个选项?

解决方案


?是无限的?


我想象在理论上是无限的,显然不是在实际中作为计算机的RAM和具体的浏览器的限制发挥作用。 p>


性能下降前有多少?


再次,这取决于几个因素,至少具体的浏览器,计算机的内存和处理能力。






编辑从经验来看,我已经有了数千个选项的下拉列表。这不是理想的,因为谁想滚动所有这些?这就是为什么一些类型的自动完成是因为许多原因,特别是最终用户的体验而更为理想的。


Does anyone know how many options a drop down list can have? Is it unlimited? How many before performance degrades?

解决方案

Does anyone know how many options a drop down list can have? Is it unlimited?

I imagine it is unlimited in theory, obviously not in practice as a computer's RAM and the specific browser's limitations come into play.

How many before performance degrades?

Again, this would depend on a few factors, at the least the specific browser, the computer's memory and processing power.


EDIT: From experience, I have had drop down lists with thousands of options. It wasn't ideal though because who wants to scroll through all of those? This is why an auto-complete of some type is more desirable for numerous reasons, especially the end user's experience.

这篇关于在HTML下拉控件中是否有最大数量的选项(值)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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