Ajax returns data from database based on the value selected
uses this data (a list of dates) to change datepicker settings.
Everything seems to be working up until the point where I'm trying to reinitialize $('#a_date').datepicker(). But it doesn't respond to my dateFormat and beforeShowDay settings based on data returned from my Ajax call. What am I doing wrong here?