Consider that I have a div with two input daterange.
<div class="input-daterange input-group" id="datepicker">
<input type="text" class="input-sm form-control" name="start" />
<input type="text" class="input-sm form-control" name="end" />
</div>
I would like to be able to choose one date in the first one ( start date ) and disable all the other dates that go beyond a specific time interval.
For example, if I decide that the difference between the two dates need to be at least one year and I put 1st January 2016 in the start input, I hope that all the dates in the end input after 1st January 2017 are disabled.
Any Idea how I can do this?
Thanks in advance.