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

时间:2014-06-28 11:58:55   收藏:0   阅读:792
<!-- 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>

 

jquery 的日期时间控件(年月日时分秒),布布扣,bubuko.com

原文:http://www.cnblogs.com/seacher/p/3798732.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!