Hi I am trying to create a date range selector. below is the given code which I need to fill in. How do I highlight all the Selected date
$(document).ready(function () {
$("#fromCalendar").datepicker({
numberOfMonths: [1, 6],
stepMonths: 1,
autoSize: true,
dateFormat: 'dd/mm/yy',
onSelect: function (date) {
selectDate(date);
}
});
});
function selectDate(date){
//Code
}
1 Answer