diff options
Diffstat (limited to 'static/development-bundle/demos/datepicker/buttonbar.html')
-rw-r--r-- | static/development-bundle/demos/datepicker/buttonbar.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/static/development-bundle/demos/datepicker/buttonbar.html b/static/development-bundle/demos/datepicker/buttonbar.html new file mode 100644 index 0000000..eeea08a --- /dev/null +++ b/static/development-bundle/demos/datepicker/buttonbar.html | |||
@@ -0,0 +1,33 @@ | |||
1 | <!doctype html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <title>jQuery UI Datepicker - Display button bar</title> | ||
5 | <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" /> | ||
6 | <script type="text/javascript" src="../../jquery-1.3.2.js"></script> | ||
7 | <script type="text/javascript" src="../../ui/ui.core.js"></script> | ||
8 | <script type="text/javascript" src="../../ui/ui.datepicker.js"></script> | ||
9 | <link type="text/css" href="../demos.css" rel="stylesheet" /> | ||
10 | <script type="text/javascript"> | ||
11 | $(function() { | ||
12 | $('#datepicker').datepicker({ | ||
13 | showButtonPanel: true | ||
14 | }); | ||
15 | }); | ||
16 | </script> | ||
17 | </head> | ||
18 | <body> | ||
19 | |||
20 | <div class="demo"> | ||
21 | |||
22 | <p>Date: <input type="text" id="datepicker"></p> | ||
23 | |||
24 | </div><!-- End demo --> | ||
25 | |||
26 | <div class="demo-description"> | ||
27 | |||
28 | <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> | ||
29 | |||
30 | </div><!-- End demo-description --> | ||
31 | |||
32 | </body> | ||
33 | </html> | ||