Refreshing datepicker
Refreshing datepicker
Is there a better way of refreshing the datepicker than this?
setTimeout('$("#mydatePicker").datepicker("setDate", $
("#mydatePicker").datepicker("getDate") );', 199);
Basically set the date using the current date.
I needed to refresh it, since I'm highlighting special days, and
dynamically adding days to the special days array.
(timeout was needed to remove flicker in IE)