[thelist] Javascript Variables to Cold Fusion Variables

Plunkett, Matt MPlunkett at msa.com
Tue Jul 17 12:09:20 CDT 2001


You have to do it through forms.  If there's a better way, I'd be excited to
know it.  

Something similar to (the filename is formtest.cfm):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
</head>

<body>

<cfif IsDefined("form.mytext")>
	<cfoutput>#form.mytext#</cfoutput>
</cfif>

<form action="formtest.cfm" method="post" name="bubba">

	<input type="text" name="mytext">
	<input type="submit" name="mybutton">

</form>

</body>
</html>

	-----Original Message-----
	From:	Josh Spiegel [SMTP:joshsquared at yahoo.com]
	Sent:	Tuesday, July 17, 2001 1:06 PM
	To:	thelist at lists.evolt.org
	Subject:	[thelist] Javascript Variables to Cold Fusion
Variables


	Is there a nice way to transfer javascript variables to coldfusion
variables
	on the same page.

	I have thought it over and it seems like it might be imposible since
the
	cold fusion is executed on the server before the javascript is
executed by
	the browser.  Is this correct?

	Thanks,
	Josh


	_________________________________________________________
	Do You Yahoo!?
	Get your free @yahoo.com address at http://mail.yahoo.com


	---------------------------------------
	For unsubscribe and other options, including
	the Tip Harvester and archive of TheList go to:
	http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list