jquery 的日期时间控件(年月日时分秒)

<!-- import package -->
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/jquery-ui-1.7.3/ui/jquery-ui-1.7.3.custom.js"></script>
<script type="text/javascript" src="JS/jquery-ui-1.7.3/ui/ui.datepicker.js"></script>
<script type="text/javascript" src="JS/jquery-ui-timepicker-addon.js"></script>
<link type="text/css" href="CSS/jquery-ui-1.7.3/redmond/jquery-ui-1.7.3.custom.css" rel="stylesheet" /> <script type="text/javascript">
$('#dyStartDateTime').datetimepicker({
showSecond: true,
changeMonth: true,
changeYear: true,
timeFormat: 'hh:mm:ss',
dateFormat: 'yy-mm-dd'
});
$('#dyEndDateTime').datetimepicker({
showSecond: true,
changeMonth: true,
changeYear: true,
timeFormat: 'hh:mm:ss',
dateFormat: 'yy-mm-dd'
});
</script>
上一篇:省时的浏览器同步测试工具 browsersync NodeJS


下一篇:七、xadmin 编辑界面实现二级联动