How to disable certain days in a month in a Datepicker?
<p>I am trying to use bootstrap date picker for picking date in one of my forms and I am able to generate the date picker with the below code. Now I have a condition that only dates ranging from 1st to 25th of every month should be enabled and the remaining 5 or 6 dates should be in disabled mode. I got to know how to disable weekdays and specific dates from googling but unable to understand how to enable a date range for every month.</p>

<p>Below is the code I am trying</p>

<pre><code>$('#slide_date').datepicker({
format: "dd/mm/yyyy",
todayBtn: "linked",
clearBtn: true,
autoclose: true,
todayHighlight: true
});
</code></pre>