forked from ddiebel/monthpicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (41 loc) · 897 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Monthpicker Version 2.0.0. Demo</title>
<style>
select.monthpick {
margin-right: 5px;
}
select.yearpick {
margin-left: 5px;
}
</style>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="jquery.monthpicker.min.js"></script>
<script>
$(document).ready(function() {
$('#yearpicker').monthpicker();
$('#yearpicker2').monthpicker({'lang' : 'es'});
$('input:submit').click(function(){
$('#yearpicker').show();
$('#yearpicker2').show();
return false;
});
});
</script>
</head>
<body>
<form name="test">
<input type="text" id="yearpicker">
<br>
<br>
<input type="text" id="yearpicker2">
<br>
<br>
<input type="submit" value="show values">
<br>
<p>for more jquery stuff visit <a href="http://www.phpmedia.de">www.phpmedia.de</a></p>
</form>
</body>
</html>