 
						| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><linktype="text/css"href="jquery-ui-1.8.16.custom.css"    rel="stylesheet"/><scriptlanguage="javascript"type="text/javascript"src="jquery-1.4.2.min.js"></script><scriptlanguage="javascript"type="text/javascript"src="jquery-ui-1.8.16.custom.min.js"></script><scriptlanguage="javascript"type="text/javascript"src="jquery-ui-timepicker-addon.js"></script><scriptlanguage="javascript"type="text/javascript"src="jquery.ui.datepicker-zh-CN.js"></script>   <scripttype="text/javascript">$(function(){    $("#time").datetimepicker({        changeYear : true,        changeMonth : true,        showSecond : true,        timeFormat : 'hh:mm:ss',        dateFormat : 'yy-mm-dd',        stepHour : 1,        stepMinute : 1,        stepSecond : 1    });    });    </script>    </head>    <body>    <form>       <inputtype="text"id="time"/>    </form>    </body></html> | 
========以下内容由网友 西瓜吃多了拉稀 提供=============
| 1 2 3 | <inputtype="text"id="onlySelectDate"/></br><inputtype="text"id="onlySelectTime"/></br><inputtype="text"id="selectDateTime"/> | 
$("#onlySelectDate").datepicker({
        changeYear : true,
        changeMonth : true,
        showSecond : true,
        timeFormat : 'hh:mm:ss',
        dateFormat : 'yy-mm-dd' , //加上下面这行禁选当天之前的日期
        minDate:new Date(),  // 加上下面这行禁选当天之后的日期
        maxDate:new Date()
});//只能选取时间
| 1 2 3 4 5 6 7 | $("#onlySelectTime").timepicker({        changeYear : true,        changeMonth : true,        showSecond : true,        timeFormat : 'hh:mm:ss',        dateFormat : 'yy-mm-dd'}); | 
特别申明:
			本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
			本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
			如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com