Code that sets calendar from AJAX call:
if (tmp!="") window1.forms[loop2].getCalendar(name).setFormatedDate("%y-%m-%d %H:%i:%s",tmp);
Input box looks like:
Click on it, it jumps to:
I tried setFormatedDate, setDate, etc. no difference. tmp is “2015-12-22 00:00:00”.
- I do not remember why I am setting getInput() - but it was needed, I think to handle “” for the date/time. I have commented out, it is not at fault for this bogus 2016-10-12 date.
** Running latest code, downloaded hour ago - older code from month ago does this too.