in order to provide a popup calendar in a form. Everything is working well but I can't seem to work out how to disable dates 1 week ahead of the current date.
I have currently managed to get it to allow selection of the days in the week I want and also I have disabled every date before the current date. But now I am looking to get it to disable selection of any of the selectable days 1 week ahead of the current date.
I hope this makes sense, and thank you in advance for any assistance.
var now = new Date();
var cal1 = new CalendarPopup("caldiv");