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>
-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 11:46 AM
To: CF-Community
Subject: Quick Javascript question :)
After a page finishes processing..I want it to go immediately to another
page..to a summary page actually.
And I want to pass files on the URL (Unless I can force an unassisted
Form Submit with hidden form fields or something).
So..after I process edits done on the Edit Screen...I want to go back to
timeentry_summary.cfm
And pass Startdate=#startdate# enddate=#enddate#.
I tried
<CFOUTPUT>
Document.location.href='timeentry_summary.cfm?startdate=#startdate#&endd
ate=#enddate#'; </CFOUTPUT>
But of course that didn't work hee hee hee.
Yes..I need a Javascript book :)
So..have any of you done this before?
-Gel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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