-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (31 loc) · 921 Bytes
/
index.html
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
32
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="gb2312">
<link type="text/css" href="jquery-ui-1.8.16.custom.css"
rel="stylesheet" />
<script language="javascript" type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-ui-1.8.16.custom.min.js"></script>
<script language="javascript" type="text/javascript" src="jquery-ui-timepicker-addon.js"></script>
<script language="javascript" type="text/javascript" src="jquery.ui.datepicker-zh-CN.js"></script>
<script type="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>
<input type="text" id="time" />
</form>
</body>
</html>