Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vineetha Thomas on Dec 21, 2009 20:55
open dhtmlx forum
Problem in IE for attachEvent method

Hi

I am using dhtmlxscheduler.

I have used the following code there. Its working fine in Mozilla. But not in IE.. no error is displayed. please give a solution

scheduler.attachEvent("onEventAdded", function(event_id,event_object){
        
     var events = scheduler.getEvents(event_object.start_date,event_object.end_date);
     if(events.length>1 && !confirm(" event already exists in the given time period. Do you want to add the new event ?")) scheduler.deleteEvent(event_id);
    
    });

Thank You

Vineetha Thomas
Answer posted by Alex (support) on Dec 22, 2009 01:46

Hello,

the issue wasn't reproduced locally. Do you use the latest scheduler version ? 

If you do, please provide the complete code of scheduler initialization.