I am using the Bootstrap 3 Datepicker plugin. When a user selects a date, I want to update various parts of my user interface. I am basically trying to create a function called when the date changes. However, I was not successful in my attempts. I am currently trying to do the following
$('#myDatePicker').datetimepicker({ change: function() { alert('date has changed!'); } });
Unfortunately, the change function never works. How do I call a function when the date changes in the date pick list?
source share