日期插件rolldate.js的使用 |
您所在的位置:网站首页 › 日期插件乱码 › 日期插件rolldate.js的使用 |
日期插件rolldate.js的使用 下载地址:http://www.jq22.com/jquery-info19834 效果:
代码: DOCTYPE html> 日期插件 input{ display: block; border-radius: 4px; outline: none; border: 1px solid #ccc; width: 200px; height: 30px; margin: 20px auto; padding-right: 10px; text-align: right; } $(function() { new rolldate.Date({ el: "#date", format: "YYYY-MM-DD", beginYear: 2000, endYear: 2100, theme: "blue", tapBefore: function(el) { console.log("插件开始触发"); }, moveEnd: function(el, iscroll) { console.log("滚动结束"); }, confirmBefore: function(el, date) { console.log("确定按钮触发"); }, confirmEnd: function(el, date) { console.log("插件运行结束"); } }); });
|
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |