-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
29 lines (24 loc) · 1.03 KB
/
README
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
DateTime Picker plugin that alters JQuery's datepicker to add hour selection
@version: v1.0.0
@author: Aldo Junior Carlos
Based on
http://jonthornton.github.com/jquery-timepicker/
http://jqueryui.com/datepicker/
#Usage:
Include Jon Thornton's plugin and jQuery, jQuery UI plugins:
<head>
<script src="https://code.jquery.com/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="https://code.jquery.com/ui/1.11.1/jquery-ui.min.js" type="text/javascript"></script>
<link href="https://code.jquery.com/ui/1.11.1/themes/cupertino/jquery-ui.css" rel="stylesheet" />
<script src="http://jonthornton.github.io/jquery-timepicker/jquery.timepicker.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="http://jonthornton.github.io/jquery-timepicker/jquery.timepicker.css" />
<script src="../jquery.datetimepicker.js" type="text/javascript"></script>
</head>
<body>
<input type="text" id="datahora" />
</body>
<script>
$(function() {
$('#datahora').datetimepicker();
})
</script>