I am using a compressed (used LibCompiler) version of dhtmlx 3.0 and i use several calendars in my app windows. When using my browser debugger, i always got an error report (“object doesn’t support this property or method”) on the page load coming from dhtmlxcalendar, especially from this piece of code :
delete this.i[a]._dhtmlxcalendar_uid
Here is what i am using to initialize the calendar, “ct” and “mec” being input id’s :
var myCalendar = new dhtmlXCalendarObject(['ct', 'mec']);
myCalendar.setDateFormat('%d/%m/%Y');
myCalendar.setSkin("dhx_skyblue");
myCalendar.hideTime();
I tried with a single input and still got the same error. Maybe i forgot something or did something wrong, but i just can’t find out.
The error was triggered on Internet Explorer 9 only for me. It seems like it was due to an old html doctype, cause the error completely disappeared when I switched to a xhtml strict doctype. I’ll provide you with a demo later on today.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan