<body onload="Formsubfunc();"> And I'm still getting the same error...
I hate syntax errors :-\ What else could be wrong? -Gel -----Original Message----- From: Jason Reichenbach [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 1:46 PM To: CF-Community Subject: RE: Quick Javascript question :) Put the semicolon in after the funtion. like so: <body onload="formsubfunc();"> -----Original Message----- From: Angel Stewart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 12:45 PM To: CF-Community Subject: RE: Quick Javascript question :) I'm getting errors :-\ *sniff* The error is Missing ; on the line with the <Body onload="formsubfunc()"> Heres the code,I've probably done something wrong: <html> <head> <SCRIPT language="javascript"> Formsubfunc() { Form1.submit(); } //end func </SCRIPT> <title>Updating Charge Info</title> </head> <body onload="formsubfunc()"> Records Updated. <!--- <CFLOCATION url="main-menu.cfm"> ---> <CFOUTPUT> <Form name="Form1" Action="timeentry_summary.cfm"> <input type="hidden" name="startdate" value="#startdate#"> <input type="hidden" name="enddate" value="#enddate#"> </form> </CFOUTPUT> </body> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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
