aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/datepicker/animation.html2
-rw-r--r--demos/datepicker/date-formats.html2
-rw-r--r--demos/datepicker/localization.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/datepicker/animation.html b/demos/datepicker/animation.html
index 990fd6262..36860cb42 100644
--- a/demos/datepicker/animation.html
+++ b/demos/datepicker/animation.html
@@ -19,7 +19,7 @@
<script>
$(function() {
$( "#datepicker" ).datepicker();
- $( "#anim" ).change(function() {
+ $( "#anim" ).on( "change", function() {
$( "#datepicker" ).datepicker( "option", "showAnim", $( this ).val() );
});
});
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() );
});
});
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index 2761dd31b..72933f011 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -16,7 +16,7 @@
<script>
$(function() {
$( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] );
- $( "#locale" ).change(function() {
+ $( "#locale" ).on( "change", function() {
$( "#datepicker" ).datepicker( "option",
$.datepicker.regional[ $( this ).val() ] );
});