mobiscroll

移动端日期及选择插件mobiscroll

匿名 (未验证) 提交于 2019-12-03 00:40:02
  在很多的form表单中,我们经常会用到日期插件,这类插件比较多,这里推荐一个很好用的移动端日期插件:mobiscroll   首先引入插件相关文件    < link href ="css/mobiscroll.css" rel ="stylesheet" /> < link href ="css/mobiscroll_date.css" rel ="stylesheet" /> < script src ="js/jquery.min.js" ></ script > < script src ="js/mobiscroll_date.js" ></ script > < script src ="js/mobiscroll.js" ></ script >   找到需要插入的日期元素div    < input style ="display:inline-block;width: 72%;height: 0.6rem;border:1px solid #ccc;text-align: left;font-size:0.24rem;" name ="page1_time" type ="text" name ="USER_AGE" id ="USER_AGE" readonly class ="input" />   初始化    $(document).ready

Problems with Mobiscroll - orientationchange and access address bar crashes some mobile browsers

做~自己de王妃 提交于 2019-11-28 06:36:23
问题 Original Title but too long for post: "ASP.NET MVC 4, Razor, JQuery, JQueryMobile, Problems with Mobiscroll - orientationchange and access address bar crashes some mobile browsers. Changing scroller width and height does not work on some phones." The crash issue happens on Android 2.1. It does not happen on iPhone, HTC EVO 4G LTE or other HTCs. Changing the scroller width and height does not work on HTCs. If I change to landscape then the scroller is the same size as it should be in portrait.