I am implementing a jquery datepicker. when I am reloading the datepicker working fine on fireFox but I can not get it work on chrome.
$('#startDate').datepicker("change", {
beforeShowDay: function(date){
return disableRangeOfDays(date, datesWithMyList);
}
});
I found the issue. In chrome timezone for the date is differrent when comapred to firefox
thats causing datepicker to never enable listed dates.
Instead of creating object
Date=new Date(myDate);
I am parsing the date:
}