| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | <title>jQuery UI Datepicker - Display button bar</title> |
| 7 | <link rel="stylesheet" href="../../themes/base/all.css"> |
| 8 | <link rel="stylesheet" href="../demos.css"> |
| 9 | <script src="../../external/requirejs/require.js"></script> |
| 10 | <script src="../bootstrap.js"> |
| 11 | $( "#datepicker" ).datepicker({ |
| 12 | showButtonPanel: true |
| 13 | }); |
| 14 | </script> |
| 15 | </head> |
| 16 | <body> |
| 17 | |
| 18 | <p>Date: <input type="text" id="datepicker"></p> |
| 19 | |
| 20 | <div class="demo-description"> |
| 21 | <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> |
| 22 | </div> |
| 23 | </body> |
| 24 | </html> |