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.1 KB
|
Line | |
---|
1 | <!doctype html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <title>jQuery UI Datepicker - Display month & year menus</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 | changeMonth: true,
|
---|
15 | changeYear: true
|
---|
16 | });
|
---|
17 | });
|
---|
18 | </script>
|
---|
19 | </head>
|
---|
20 | <body>
|
---|
21 |
|
---|
22 | <div class="demo">
|
---|
23 |
|
---|
24 | <p>Date: <input type="text" id="datepicker"></p>
|
---|
25 |
|
---|
26 | </div><!-- End demo -->
|
---|
27 |
|
---|
28 | <div class="demo-description">
|
---|
29 |
|
---|
30 | <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>
|
---|
31 |
|
---|
32 | </div><!-- End demo-description -->
|
---|
33 |
|
---|
34 | </body>
|
---|
35 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.