title: Bootstrap DatePicker - Onchange
body: <p>I am using the <a href="http://eonasdan.github.io/bootstrap-datetimepicker/" rel="noreferrer">Bootstrap 3 Datepicker</a> plugin. When the user chooses a date, I want to update various parts of my UI. I'm basically trying to create a function that is called when the date changes. However, I've been unsuccessful in my attempts. Currently, I'm trying the following</p>
  
  <pre><code>$('#myDatePicker').datetimepicker({
    change: function() {
      alert('date has changed!');
    }                  
  });
  </code></pre>
  
  <p>Unfortunately, the <code>change</code> function never fires. How do I call a function when the date is changed in the date picker?</p>