jQuery:无限输入选择 [英] JQuery: Infinite input select
问题描述
我想知道是否有可能使用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屋!