首页 > 代码库 > jquery 的日期时间控件(年月日时分秒)

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

<!-- import package --><script type="text/javascript" src="http://www.mamicode.com/JS/jquery.js"></script><script type="text/javascript" src="http://www.mamicode.com/JS/jquery-ui-1.7.3/ui/jquery-ui-1.7.3.custom.js"></script><script type="text/javascript" src="http://www.mamicode.com/JS/jquery-ui-1.7.3/ui/ui.datepicker.js"></script><script type="text/javascript" src="http://www.mamicode.com/JS/jquery-ui-timepicker-addon.js"></script><link type="text/css" href="http://www.mamicode.com/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>