dhtmlxCalendar gives error on myForm.clear();

Error is:
a is null
[Break On This Error] if (typeof(i[r]) != “undefined”) i[r] = Number(a[q]);

What’s wrong?

Unfortunately the issue cannot be reconstructed localy.
Couldn’t you provide any kind of sample or demo link where it can be reconstructed.