Madness :-\

Still getting the missing ; on the line

<body onload="formsubfunc();">

I can't understand this :-\

What is wrong with my syntax?

-Gel


-----Original Message-----
From: Vinny DiDonato [mailto:[EMAIL PROTECTED]] 

Try... (lines changed have asterisks)


<head>
<SCRIPT language="javascript">
        Formsubfunc(){
                Form1.submit();
        }//end func
</SCRIPT>

<title>Updating Charge Info</title>

</head>
**** <CFOUTPUT>
**** <Form name="Form1" Action="timeentry_summary.cfm">
****    <input type="hidden" name="startdate" value="#startdate#">
****    <input type="hidden" name="enddate" value="#enddate#">
**** </form>

**** <body onload="javascript:Formsubfunc();"><!--- CHANGED FUNC NAME TO
MATCH NAME IN JS CODE --->

Records Updated.
<!--- <CFLOCATION url="main-menu.cfm"> --->
<!--- REMOVED FORM FROM HERE, GEL [Vinny] --->
</body>
</CFOUTPUT>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to