你的位置:首页 > 软件开发 > Java > js多选日期控件

js多选日期控件

发布时间:2015-04-01 10:00:24
js多选日期控件详情请见:http://www.lovewebgames.com/jsmodule/calendar.html它的github地址:https://github.com/tianxiangbing/calendar calendarjs日历控件用法 1 &lt ...

js多选日期控件

详情请见:http://www.lovewebgames.com/jsmodule/calendar.html

它的github地址:https://github.com/tianxiangbing/calendar

 

calendar

js日历控件

用法

 1 <input type="text" id="calendar" value="2015-04-15"/> 2   <script src='/images/loading.gif' data-original="../src/jquery-1.9.1.min.js"></script> 3   <script src='/images/loading.gif' data-original="../src/calendar.js"></script> 4   <script> 5     var calendar = new Calendar(); 6     calendar.init({ 7       target: $('#calendar'), 8       range: ['2015-3-5', '2015-3-25'], 9       multiple: true,10       maxdays: 5,11       overdays: function(a) {12         alert('添加已达上限 ' + a + ' 天');13       }14     });15   </script>

原标题:js多选日期控件

关键词:JS

JS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。