title: Enable specific dates in bootstrap datepicker
body: <p>I have a bootstrap datepicker (<a href="https://github.com/uxsolutions/bootstrap-datepicker" rel="nofollow noreferrer">https://github.com/uxsolutions/bootstrap-datepicker</a>) on my website, and I have an array of days which I want to enable and disable all the other dates in the datepicker. How can I code this?</p>
  
  <p>How can I pass this in? </p>
  
  <blockquote>
  <pre><code>var enableDays = "24-07-2019, 20-08-2019, 22-08-2019, 13-09-2019"
  </code></pre>
  </blockquote>
  
  <pre><code>$(function () {
      $('#deliveryDate').datepicker({
          maxViewMode: 2,
          weekStart: 1,
          startDate: '+1d',
          autoclose: true,
          todayHighlight: true,
          format: "dd-mm-yyyy", 
          clearBtn: true,
          language: form.UILanguage(),
          autoclose: true,
      }) 
  });
  </code></pre>