I have a BS input with type="date"
and all I am trying to do is to disable past days and weekends in my calendar. I tried numerous snippets of code found on the internet and invented by me, but nothing worked, probably because I lack understanding how to make them work.
So please help. Any tips will be appreciated.
Here is my html :
<div class="form-group">
<label class="control-label col-sm-2" for="date" ">Date:</label>
<div class="col-sm-2">
<input type="date" class="form-control" id="datepicker">
</div>
</div>