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 defa
Use onSelect option. It should looks like this:
$('#datepickerID').datepicker({
onSelect: function(dateText, inst) {
$('#ui-datepicker-div').addClass("calendar-piced");
},
showButtonPanel: true,
gotoCurrent: true
});
#datepickerID{
&.calendar-piced{
.ui-datepicker-today{
a{
background: #f6f6f6;
border: 1px solid #c5c5c5;
color: #454545;
}
}
}
}