有人用mobiscroll弄过两个input框的日期段选择吗?
就是第一个input框是开始时间
第二个input是结束时间
结束时间的选择区间
不能先于所选的开始时间
$("#appDate").mobiscroll({
dateFormat:"yyyy-mm-dd",
display:"modal",
endYear:2016,
lang:"zh",
mode:"scroller",
nowText:"今天",
preset:"date",
showNow:true,
startYear:2016,
theme:"android-ics light"
});
$("#appDate2").mobiscroll({
dateFormat:"yyyy-mm-dd",
display:"modal",
endYear:2026,
lang:"zh",
mode:"scroller",
nowText:"今天",
preset:"date",
showNow:true,
startYear:2016,
theme:"android-ics light"
});
下面是html代码
问下子要怎么把两个input框的日期联系起来
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
人生最曼妙的风景,竟是内心的淡定与从容!