]> dev.renevier.net Git - syp.git/blob - jquery/development-bundle/demos/datepicker/dropdown-month-year.html
initial commit
[syp.git] / jquery / development-bundle / demos / datepicker / dropdown-month-year.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4         <title>jQuery UI Datepicker - Display month &amp; year menus</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                         changeMonth: true,
14                         changeYear: 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>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>
30
31 </div><!-- End demo-description -->
32
33 </body>
34 </html>