Categories | Question details Back To List | ||
onBeforeLightbox has problem in IE Hi I am using dhtmlxscheduler. I have used the following code to avoid event creation on holidays including saturday and sunday. This code is working fine in firefox. But not in IE...please tell me the solution scheduler.attachEvent("onBeforeLightbox",function(id){ var ev = this.getEvent(id); var date = ev.start_date; var hDay=null; if(date.getDay()==0 || date.getDay()==6 ){ alert("It's a Holiday"); scheduler.deleteEvent(id); } return (date.getDay()&&date.getDay()!=6 ) }) Thank You Vineetha Answer posted by Alex (support) on Dec 21, 2009 04:52 Hello, What is the error ? Please provide the complete code of scheduler initialization. |