aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2009-01-09 08:30:36 +0000
committerKeith Wood <kbwood.au@gmail.com>2009-01-09 08:30:36 +0000
commit684353e0367c5fa56cc8fe989781e02713552e61 (patch)
treedd7c57519de4059ae558cd3cff58cbd28fdf860b /demos/datepicker
parentc81e63f517f7da967d64c7e24f8ec651df11faca (diff)
downloadjquery-ui-684353e0367c5fa56cc8fe989781e02713552e61.tar.gz
jquery-ui-684353e0367c5fa56cc8fe989781e02713552e61.zip
Added description of keyboard equivalents
Diffstat (limited to 'demos/datepicker')
-rw-r--r--demos/datepicker/default.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/demos/datepicker/default.html b/demos/datepicker/default.html
index c7b03dc52..273d5c7ed 100644
--- a/demos/datepicker/default.html
+++ b/demos/datepicker/default.html
@@ -24,6 +24,17 @@
<div class="demo-description">
<p>This is a default datepicker which is tied to a standard form input. The calendar opens in a small overlay onFocus and closes automatically onBlur if a date if selected.</p>
+<p>You can also use the keyboard to drive the datepicker:</p>
+<ul>
+ <li>page up/down - previous/next month</li>
+ <li>ctrl+page up/down - previous/next year</li>
+ <li>ctrl+home - current month or open when closed</li>
+ <li>ctrl+left/right - previous/next day</li>
+ <li>ctrl+up/down - previous/next week</li>
+ <li>enter - accept the selected date</li>
+ <li>ctrl+end - close and erase the date</li>
+ <li>escape - close the datepicker without selection</li>
+</ul>
</div><!-- End demo-description -->