How to change default highlighted “today” date in datepicker
问题 I'm using datepicker for selecting dates in two date fields (from date and to date). In those, the default highlighted date is today date. I need to change the default highlighted date to some other day in the second datepicker. (as a example today + 8 days). How can I do this correctly ? following are my datepickers, $(function() { $( "#datepicker" ).datepicker(); $( "#datepicker" ).datepicker("option", "dateFormat", "yy-mm-dd"); // ISO 8601 $( "#datepicker2" ).datepicker(); $( "#datepicker2