title: Bootstrap 3 datetimepicker events not firing up
body: <p>I am using <a href="http://eonasdan.github.io/bootstrap-datetimepicker/#example8" rel="nofollow noreferrer">Bootstrap 3 DateTimePicker</a>  and I am trying example 8 (Linked datetimepicker).</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#dpStart').datetimepicker({
    pickDate: true, //en/disables the date picker
    pickTime: false,
    format: "DD-MM-YYYY",
    useMinutes: false, //en/disables the minutes picker
    useSeconds: false
  });
  
  $('#dpEnd').datetimepicker({
    pickDate: true, //en/disables the date picker
    pickTime: false,
    format: "DD-MM-YYYY",
    useMinutes: false, //en/disables the minutes picker
    useSeconds: false
  });
  
  $("#dpStart").on("dp.change", function(e) {
    alert('hey');
    $('#dpEnd').data("DateTimePicker").setMinDate(e.date);
  });
  
  $("#dpEnd").on("dp.change", function(e) {
    $('#dpStart').data("DateTimePicker").setMaxDate(e.date);
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment-with-locales.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdn.rawgit.com/Eonasdan/bootstrap-datetimepicker/e8bddc60e73c1ec2475f827be36e1957af72e2ea/src/js/bootstrap-datetimepicker.js"&gt;&lt;/script&gt;
  &lt;div class="row"&gt;
    &lt;div class="col-md-6 col-sm-6 form-group"&gt;
      &lt;label for="txtStartDate"&gt;
            Start Date-Time&lt;/label&gt;
      &lt;div class="input-group date" id="dpStart" data-date-format="DD-MM-YYYY"&gt;
        &lt;asp:TextBox ID="txtStartDate" runat="server" CssClass="form-control"&gt;&lt;/asp:TextBox&gt;
        &lt;span class="input-group-addon"&gt;&lt;span class="glyphicon glyphicon-calendar"&gt;&lt;/span&gt;
        &lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="col-md-6 col-sm-6 form-group"&gt;
      &lt;label for="txtEndDate"&gt;
            End Date-Time&lt;/label&gt;
      &lt;div class="input-group date" id="dpEnd" data-date-format="DD-MM-YYYY"&gt;
        &lt;asp:TextBox ID="txtEndDate" runat="server" CssClass="form-control"&gt;&lt;/asp:TextBox&gt;
        &lt;span class="input-group-addon"&gt;&lt;span class="glyphicon glyphicon-calendar"&gt;&lt;/span&gt;
        &lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Calender is showing as per the needs but the events like dp.change, dp.hide, dp.show are not firing up.. What could be the problem? Any help?</p>
  <p><strong>EDIT:</strong>
  Please note that I've included all necessary files like Bootstrap js, bootstrap css, Moment.js and datetimepicker js and css files.</p>