change

Fires when the datetimepicker value changes as a result of selecting a new value.

Parameters

NameTypeDescription
e {object} event data

Examples

sample

    
 <input id="input" width="312" />
 <script>
     $('#input').datetimepicker({
         footer: true,
         modal: true,
         change: function (e) {
             alert('Change is fired');
         }
     });
 </script>