Hi,
I have two datepicker inputs. One is a 'from' date and one is a 'to' date.
The criteria for the from date is that the user can pick a date from today's date to 10 days ago.
the issue i am encountering is that both today's date and the date of 10 days ago are highlighted. I would like to just highlight the date of 10 days ago but am not sure this is possible as they both seem to have the same CSS class applied:
ui-state-default ui-state-active
Here is the jQuery i am using to achieve the above:
$('.w_market_updates .from').datepicker({
dateFormat: 'dd/mm/yy',
defaultDate: -10,
minDate: -10,
maxDate: 0,
showOn: 'both',
buttonImageOnly: true,
buttonImage: 'Content/images/icons/calendar_from_date.png'
});