-
Notifications
You must be signed in to change notification settings - Fork 0
/
dataTimerPicke.html
69 lines (46 loc) · 1.32 KB
/
dataTimerPicke.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Basic Examples -- Input Type Date | Time | DateTime</title>
<link rel="stylesheet" type="text/css" href="/DateTimePicker.css" />
<script type="text/javascript" src="jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="DateTimePicker.js"></script>
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="DateTimePicker-ltie9.css" />
<script type="text/javascript" src="DateTimePicker-ltie9.js"></script>
<![endif]-->
<style type="text/css">
p
{
margin-left: 20px;
}
input
{
width: 200px;
padding: 10px;
margin-left: 20px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<!---- This will not work on IE Versions less than 9 ------------->
<!------------------------ Date Picker ------------------------>
<p>Date : </p>
<input type="date" readonly>
<!------------------------ Time Picker ------------------------>
<p>Time : </p>
<input type="time" readonly>
<!------------------------ DateTime Picker ------------------------>
<p>DateTime : </p>
<input type="datetime" readonly>
<div id="dtBox"></div>
<script type="text/javascript">
$(document).ready(function()
{
$("#dtBox").DateTimePicker();
});
</script>
</body>
</html>