aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker/dropdown_month_year.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/datepicker/dropdown_month_year.html')
-rw-r--r--demos/datepicker/dropdown_month_year.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/datepicker/dropdown_month_year.html b/demos/datepicker/dropdown_month_year.html
index b8ce20f05..f9afd267b 100644
--- a/demos/datepicker/dropdown_month_year.html
+++ b/demos/datepicker/dropdown_month_year.html
@@ -9,7 +9,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $('#date123').datepicker({
+ $('#datepicker').datepicker({
changeMonth: true,
changeYear: true
});
@@ -20,12 +20,10 @@
<div class="demo">
-<p>Date: <input type="text" id="date123"></p>
+<p>Date: <input type="text" id="datepicker"></p>
</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>