Datepicker onSelect to format new date range
问题 I have 2 datepickers, one is a fromDate and one is a toDate. I can highlight the range from the fromDate to the toDate successfully in beforeShowDay(), but I need it to highlight when new values are selected. This triggers the onSelect statement. Is there a way to either: 1) trigger the beforeShowDay again? or 2) get all the dates of the new range and apply a css class to them? beforeShowDay: function(date){ if (date >= initialFromDate && date <= initialToDate) { return [true, 'ui-individual