I have a Classic ASP system with jquery datepicker, I want do disable automatically some days. This dates will automatically populate the array that disable dates. (today is manual using the function)
var disableddates = ["10-12-2015", "11-20-2015", "12-21-2015", "12-22-2015", "12-23-2015", "12-24-2015", "12-25-2015", "12-28-2015", "12-29-2015", "12-30-2015", "12-31-2015", "1-1-2016"];
I have a SQL Server procedure that gives me a list with all this dates. How can I call it before open the datepicker with all this dates disabled?