in your <body onload="formsubfunc();">

do this instead:

<body onload="Form1.submit();">

-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 1:01 PM
To: CF-Community
Subject: RE: Quick Javascript question :)


Same errors, here's the new code:

<head>
<SCRIPT language="javascript">

Formsubfunc(){

        Form1.submit();

}//end func

</SCRIPT>

        <title>Updating Charge Info</title>
</head>
<CFOUTPUT>
<body onload="formsubfunc();">

Records Updated.

<!--- <CFLOCATION url="main-menu.cfm"> --->


<Form name="Form1" Action="timeentry_summary.cfm">
        
        <input type="hidden" name="startdate" value="#startdate#">
        <input type="hidden" name="enddate" value="#enddate#">

</form>

</body>
</CFOUTPUT>
</html>







        

        


        
        

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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