2008-12-30 04:16:51 +00:00
<!doctype html>
< html lang = "en" >
< head >
< title > jQuery UI Datepicker - Default Demo< / title >
2009-01-07 02:36:51 +00:00
< link type = "text/css" href = "../../themes/base/ui.all.css" rel = "stylesheet" / >
2009-01-08 05:44:34 +00:00
< script type = "text/javascript" src = "../../jquery-1.3pre.js" > < / script >
2008-12-30 04:16:51 +00:00
< script type = "text/javascript" src = "../../ui/ui.core.js" > < / script >
< script type = "text/javascript" src = "../../ui/ui.datepicker.js" > < / script >
2008-12-31 06:29:31 +00:00
< link type = "text/css" href = "../demos.css" rel = "stylesheet" / >
2008-12-30 04:16:51 +00:00
< script type = "text/javascript" >
$(function() {
2009-01-01 00:27:45 +00:00
$("#datepicker").datepicker();
2008-12-30 04:16:51 +00:00
});
< / script >
< / head >
< body >
2008-12-30 16:45:42 +00:00
< div class = "demo" >
2009-01-01 00:27:45 +00:00
< p > Date: < input type = "text" id = "datepicker" > < / p >
2008-12-30 04:16:51 +00:00
2008-12-30 16:45:42 +00:00
< / div > <!-- End demo -->
< 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 >
2009-01-09 08:30:36 +00:00
< 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 >
2008-12-30 16:45:42 +00:00
< / div > <!-- End demo - description -->
2008-12-30 04:16:51 +00:00
< / body >
< / html >