climber
February 15, 2012, 2:43pm
#1
I need to use 2 different calendars, with different insensitive dates on the same page. I have tried this, but only one instance seems to work. here is the code I am using. only the first instance appears.
thanks
================================================
climber
February 15, 2012, 2:55pm
#2
sorry, I posted the wrong code:
========================
function doOnLoad() {
var sacoboundCalendar;
sacoboundCalendar = new dhtmlXCalendarObject(["calendarSacobound"]);
sacoboundCalendar.setDateFormat("%m/%d/%Y");
sacoboundCalendar.hideTime();
sacoboundCalendar.setInsensitiveDays(["<?php echo $SacoboundBlackoutDates ?>"]);
var myEvent = sacoboundCalendar.attachEvent("onClick", function (){
//event handler code
reservationCalculation();
})
var fiddleheadCalendar;
fiddleheadCalendar = new dhtmlXCalendarObject(["calendarFiddlehead"]);
fiddleheadCalendar.setDateFormat("%m/%d/%Y");
fiddleheadCalendar.hideTime();
fiddleheadCalendar.setInsensitiveDays(["<?php echo $FiddleheadBlackoutDates ?>"]);
var myEvent = fiddleheadCalendar.attachEvent("onClick", function (){
//event handler code
reservationCalculation();
})
}
sematik
February 21, 2012, 3:45pm
#3
Unfortunately the issue cannot be reconstructed.
If issue still occurs - please provide any kind of sample or demo link