aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker/date-formats.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/datepicker/date-formats.html')
-rw-r--r--demos/datepicker/date-formats.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/datepicker/date-formats.html b/demos/datepicker/date-formats.html
index 39be9aa15..5664beb5b 100644
--- a/demos/datepicker/date-formats.html
+++ b/demos/datepicker/date-formats.html
@@ -12,7 +12,7 @@
<script>
$(function() {
$( "#datepicker" ).datepicker();
- $( "#format" ).change(function() {
+ $( "#format" ).on( "change", function() {
$( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() );
});
});