Debian Codegraph @

demos/datepicker/dropdown-month-year.html

raw
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 month &amp; year menus</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 changeMonth: true,
13 changeYear: true
14 });
15 </script>
16 </head>
17 <body>
18
19 <p>Date: <input type="text" id="datepicker"></p>
20
21 <div class="demo-description">
22 <p>Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean <code>changeMonth</code> and <code>changeYear</code> options.</p>
23 </div>
24 </body>
25 </html>