开发者

length of dropdown list

i have a drop down list in my form. it contains a lot of values. so when 开发者_如何学Pythoni click on it, it covers whole of the page, along with the scroll bar. is there a way to limit the length of the drop down list, say showing only 10 values at a time. any help is very much appreciated


I dont think there is a way to limit the size of the dropdown. It is browser/OS dependent.

You can try creating your own dropdown using javascript. There should be a JQuery plugin available.

If you want to stick to then you will have to live with the too tall dropdowns.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜