source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/demos/datepicker/buttonbar.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 1.2 KB
Line 
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.4.1.js"></script>
7 <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
8 <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
9 <script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
10 <link type="text/css" href="../demos.css" rel="stylesheet" />
11 <script type="text/javascript">
12 $(function() {
13 $('#datepicker').datepicker({
14 showButtonPanel: true
15 });
16 });
17 </script>
18</head>
19<body>
20
21<div class="demo">
22
23<p>Date: <input type="text" id="datepicker"></p>
24
25</div><!-- End demo -->
26
27<div class="demo-description">
28
29<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>
30
31</div><!-- End demo-description -->
32
33</body>
34</html>
Note: See TracBrowser for help on using the repository browser.