介绍一个很好用的JQuery时间插件
JQuery官方的datepicker有个局限,就是不能精确到分钟或秒,在网上找到一个很好用的插件,并已经用在了我们的项目中。
如果要改成中文,用法如下:
$(function(){ $(".jq-date").datetimepicker({ timeFormat: 'HH:mm:ss', timeText: '时间', hourText: '小时', minuteText: '分', secondText: '秒', currentText: '当前', closeText: '确定' });})
传送门:http://trentrichardson.com/examples/timepicker/#alt_examples
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。