Hi Team,
I am trying to enable only the upcoming 2weeks i.e from current week friday to the second week thursday.
For example: today's date is 25th so the upcoming friday will be 27th. So I would like to enable the date from 27th Friday June to
July 10th Thursay.
Please help me out. I have used the mindate and maxdate, but that should be updated manually for every week.
<script> $(function() { $( "#datepicker" ).datepicker({ minDate: +2, maxDate: "+2w +1D" }); });
</script>