Mobiscroll in the performance of the better, can choose a variety of effects, sliding effect is relatively smooth. Provide style files and JS files, directly Click to download, this version is mobiscroll 2.13 's official address: https://docs.mobiscroll.com/2-17-2: http:// note.youdao.com/yws/public/redirect/share?id=95fd7bf95aa4f13bd6ba0f9ed16b6f6b&type=false need to introduce jquery. The plugin is very powerful and this article is just a simple reference calendar. var theme= "ios"; $ ("#id"). Mobiscroll (). Date ({//here is date, and Time,datetime is not in the scope of this article.) theme: theme,//style, Different styles can be set according to the operating system lang: "zh", cancelText: "Cancel", dateFormat: ' Yyyy-mm-dd ', onBeforeShow: function (inst) { }, endyear: 2016,//can be set according to the current year daytext: ' Day ', monthtext: ' month ', yeartext: ' Year ', headertext: function (ValueText) { var array = valuetext.split ('-'); return array[0] + "Year" + array[1 ] + "Month" + array[2] + "Day"; }, onbeforeshow:function (inst) {//Pre-show events inst.settings.readonly=true;//read-only properties }, onSelect: function (Valuetext, inst) {// Select event (after clicking OK), ValuetexT is the chosen time, var selectedDate = valueText; } }); theme parameters in the configuration, providing a variety of styles for reference:android Android-holoandroid-holo-lightandroid-icsandroid-ics-lightios (at the bottom of the window) iOS7 (the bottom of the window) JQM (feels like a transparent effect, Try the effect yourself) sense-uiwp more please refer to the official website https://docs.mobiscroll.com/2-17-2
Mobile Calendar Control Mobiscroll Simple use, parameter settings