/me slaps gel for being a silly billy

The CF will process on the server before the jscript has even been sent to
the client.

Why not use cflocation with url parameters?

-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2001 17:13
To: CF-Community
Subject: RE: Quick Javascript question :)


Nope..didn't try that.

So if I put all the code that does the processing BEFORE the body tag
it will do the processing and THEN submit..not just fly to Javascript
and Submit without processing the CF Code right?

:)

-Gel


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

Have you tried writing a js func which submits a hidden form with your
variables on page load?   

body onload="formsubfunc()"

Js code
Formsubfunc(){
        formname.submit()
}//end func

body onload="formsubfunc()"

<cfoutput>
Form

Type=hidden name="startdate" value="#startdate#"
Type=hidden name="enddate" value="#enddate#"

/form
</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