Board Logo

document.form.statusupdate.elements is null or not an object
SurlyPete - 9/29/2005 at 02:24 PM

I get this error on page load, but if look at the source I see that all form names are being generated correctly and the calendar objects are being created also.

This is what I use to create my calendar objects:

<cfloop query="NotReceived" startrow="1" endrow="#notreceived.recordcount#">
var cal#checklist_id# = new calendar2(document.forms['statusupdate'].elements['datea#checklist_id#']);

cal#checklist_id#.year_scroll = true;
cal#checklist_id#.time_comp = false;
</cfloop>


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/