2008-12-30 04:16:51 +00:00
<!doctype html>
< html lang = "en" >
< head >
< title > jQuery UI Datepicker - Default Demo< / title >
< link type = "text/css" href = "../demos.css" rel = "stylesheet" / >
< link type = "text/css" href = "../../themes/default/ui.all.css" rel = "stylesheet" / >
< script type = "text/javascript" src = "../../jquery-1.2.6.js" > < / script >
< script type = "text/javascript" src = "../../ui/ui.core.js" > < / script >
< script type = "text/javascript" src = "../../ui/ui.datepicker.js" > < / script >
< script type = "text/javascript" >
$(function() {
2008-12-30 18:23:21 +00:00
$('#date123').datepicker({
changeMonth: true,
changeYear: true
});
2008-12-30 04:16:51 +00:00
});
< / script >
< / head >
< body >
2008-12-30 16:45:42 +00:00
< div class = "demo" >
2008-12-30 04:16:51 +00:00
< p > Date: < input type = "text" id = "date123" > < / p >
2008-12-30 16:45:42 +00:00
< / div > <!-- End demo -->
< div class = "demo-description" >
< p > This datepicker has an optional month and year dropdown added to make it easier to navigate through large timeframes. This is done by adding the changeMonth:true and changeYear:true options.< / p >
< / div > <!-- End demo - description -->
2008-12-30 04:16:51 +00:00
< / body >
< / html >