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


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.