jQuery:无限输入选择 [英] JQuery: Infinite input select

查看:56
本文介绍了jQuery:无限输入选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能使用JQuery创建无限输入选择: 换句话说,我想在我的选择中加载x选项,并在用户到达最低点时加载更多.

谢谢

解决方案

我认为您最好的选择是创建一个伪选择控件(也许是DIV带有CSS溢出,还是滚动的多行文本框?)./p>

我相信您想要的效果将类似于您在此处可以看到的滚动列表(首先选择一个简朴的火车):

http://tickets.eastcoast.co.uk/ec/en/JourneyPlanning/MixingDeck

I would like to know if it's possible to create an infinite input select using JQuery: In other words, I want to load x options in my select and load more once the user reach the bottom.

Thanks

解决方案

I think your best option would be to create a pseudo-select control (perhaps a DIV with CSS overflow, or a scrolling multi-line textbox?).

I believe the effect you want would be similar to the scrolling lists that you can see here (choose a train jouney first):

http://tickets.eastcoast.co.uk/ec/en/JourneyPlanning/MixingDeck

这篇关于jQuery:无限输入选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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