Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by bluewind on Jul 17, 2008 19:39
open dhtmlx forum
about calendar document.body.onclick

Thank you for your reply.



dhtmlx calendar

dhtmlxEvent(document.body,"click",function(){
mycalendar.close();
});



But how to apply this information?

dhtmlxcalendar.js ?
Answer posted by Support on Jul 18, 2008 03:33
If you are creating calendar by
    var calendar = new dhtmlxCalendarObject(...
you can add next to it
    var calendar = new dhtmlxCalendarObject(...
    dhtmlxEvent(document.body,"click",function(){
        calendar.close();
    });