forked from JordyMoos/clockpicker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
am_pm_submit.html
38 lines (30 loc) · 928 Bytes
/
am_pm_submit.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ClockPicker</title>
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="dist/bootstrap-clockpicker.min.css">
<style type="text/css">
body {
padding: 100px;
}
</style>
</head>
<body>
<input id="timepicker" type="text" name="timepicker" value="">
<script type="text/javascript" src="assets/js/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="dist/jquery-clockpicker.js"></script>
<script type="text/javascript">
$('#timepicker').clockpicker({
autoclose: true,
twelvehour: true,
minutestep: 15,
ampmSubmit: true
});
</script>
</body>
</html>