-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.html
More file actions
41 lines (35 loc) · 852 Bytes
/
example.html
File metadata and controls
41 lines (35 loc) · 852 Bytes
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
<html>
<head>
<title>Example</title>
<link href="css/style.css" media="screen" rel="stylesheet" type="text/css" />
<style>
input {
width : 300px;
margin-bottom : 3px;
}
</style>
</head>
<body>
<p>Lorem ipsum etc. etc. four score and seven years ago <input type="text"></input></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js/jquery.dateRange.js"></script>
<script>
$(document).ready(function() {
var element = $("input").dateRange({
rangePicker : true
});
/*
element.bind('open', function() {
console.log("open called");
});
element.bind('close', function() {
console.log("close called");
});
element.on('selected', function() {
console.log("selected called");
});
*/
});
</script>
</body>
</html>