title: Bootstrap Datepicker not working in chrome
body: <p>I use a Jquery plugin <a href="https://github.com/eternicode/bootstrap-datepicker">Bootstrap Datepicker</a>. It works fine in firefox. Also, It works on some pages of my site in Google Chrome (Version 33.0.1750.117 m). However, there is one text input (name="TravelDate"), where this plugin does not work. This text input is placed on Bootstrap modal window.</p>
  
  <pre><code>&lt;script&gt;
  $(function () {
      $("#date-trip").datepicker({
          format: "dd.mm.yyyy",
          startDate: new Date(),
          todayBtn: "linked",
          language: "ru",
          autoclose: true
      });
  });
  &lt;/script&gt;
  
  &lt;!-- Modal --&gt;
  &lt;div class="modal fade" id="createTripModal" tabindex="-1" role="dialog" aria-labelledby="createTripModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                  &lt;h4 class="modal-title"&gt;Travel creating&lt;/h4&gt;
              &lt;/div&gt;
  
              @using (Html.BeginForm("Create", "Trip", new {ReturnUrl = ViewBag.ReturnUrl}, FormMethod.Post, new {@class = "form-horizontal", role = "form"}))
              {
                  @Html.AntiForgeryToken()
  
                  @Html.ValidationSummary(true)
                  &lt;div class="modal-body"&gt;
                      &lt;label for="date-trip"&gt;Date:&lt;/label&gt;
                      &lt;input name="TravelDate" type="text" id="date-trip" class="form-control" required autofocus /&gt;
                  &lt;/div&gt;
                  &lt;div class="modal-footer"&gt;
                      &lt;input type="submit" value="Create" class="btn btn-primary" /&gt;
                  &lt;/div&gt;
              }
          &lt;/div&gt;&lt;!-- /.modal-content --&gt;
      &lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
  &lt;/div&gt;
  &lt;!-- /.modal --&gt;
  </code></pre>
  
  <p>There are no errors in Console in Google Chrome. It is important that this plugin works correctly on other forms.</p>
  
  <p>I'll be glad to any advice.</p>