mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
5cbb419f24
Ref 343c265172
25 lines
871 B
HTML
25 lines
871 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>jQuery UI Datepicker - Display button bar</title>
|
|
<link rel="stylesheet" href="../../themes/base/all.css">
|
|
<link rel="stylesheet" href="../demos.css">
|
|
<script src="../../external/requirejs/require.js"></script>
|
|
<script src="../bootstrap.js">
|
|
$( "#datepicker" ).datepicker({
|
|
showButtonPanel: true
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<p>Date: <input type="text" id="datepicker"></p>
|
|
|
|
<div class="demo-description">
|
|
<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>
|
|
</div>
|
|
</body>
|
|
</html>
|