0

In bootstrap-datepicker http://www.eyecon.ro/bootstrap-datepicker/ this work:

$('#form_field').datepicker().on('changeDate', calc_func);

but in jQuery UI not working. How to fix/change it? changeDate is event in bootstrap-datepicker

edekmax
  • 79
  • 1
  • 8

1 Answers1

1
$(".date").datepicker({
    onSelect: function() {
        calc_func();
    }
});

when you select or change date in jQuery calender then the function will be called

PSR
  • 38,073
  • 36
  • 106
  • 149