Subversion Repositories Sites.obs-saisons.fr

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
40 aurelien 1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
	<meta charset="utf-8">
5
	<title>jQuery UI Datepicker - Display button bar</title>
6
	<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
	<script src="../../jquery-1.4.2.js"></script>
8
	<script src="../../ui/jquery.ui.core.js"></script>
9
	<script src="../../ui/jquery.ui.widget.js"></script>
10
	<script src="../../ui/jquery.ui.datepicker.js"></script>
11
	<link rel="stylesheet" href="../demos.css">
12
	<script>
13
	$(function() {
14
		$( "#datepicker" ).datepicker({
15
			showButtonPanel: true
16
		});
17
	});
18
	</script>
19
</head>
20
<body>
21
 
22
<div class="demo">
23
 
24
<p>Date: <input type="text" id="datepicker"></p>
25
 
26
</div><!-- End demo -->
27
 
28
 
29
 
30
<div class="demo-description">
31
<p>Display a button for selecting Today's date and a Done button for closing the calendar with the boolean <code>showButtonPanel</code> option.  Each button is enabled by default when the bar is displayed, but can be turned off with additional options.  Button text is customizable.</p>
32
</div><!-- End demo-description -->
33
 
34
</body>
35
</html>