Categories | Question details Back To List | ||
ablot dhtmlxCalendar hi.. Trying to use the dhtmlxCalendar .. The problem is trying to close the event occurs "body.onclick " Have not been fully resolved. dhtmlxCalendar hide What should be the case? Answer posted by Support on Jul 17, 2008 05:58 By default dhtmlxcalendar attaching event handler and close itself when any date selected in calendar. You can close calendar on any click in document by using dhtmlxEvent(document.body,"click",function(){ mycalendar.close(); }); Answer posted on Jul 22, 2008 02:39 It gives following JS error : [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://localhost:9080/db4/js/dhtmlx/dhtmlxCalendar/codebase/dhtmlxcalendar.js :: anonymous :: line 93" data: no] Answer posted by Support on Jul 22, 2008 03:41 Sorry for inconvenience, was a my typo, the correct code would be dhtmlxEvent(document.body,"click",function(){ mycalendar.hide(); }); |