Help! How to make days enabled in UI datepicker after month change?
问题 In my situation: I got the days which want to be enabled from ajax called. When I change the month ,I read the xml file vial ajax called and got the days of that month.How to make it out?? thank you very much!! array variable to hold the days: var $daysWithRecords = new Array() function to load xml files: function getDays(year,month){ $.ajax({ type: "GET", url: "users.xml", dataType: "xml", success:function(msg) { initDaysArray( $(msg) , year , month ); } }); } function to initial the days