Since the variable part of the url in the popup, the variable is now in the
url scope and is called msg. Try referencing the variable without a scope
with #msg# or with the correct scope #url.msg#. Both should work.

jon
----- Original Message -----
From: "FARRAH NG" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 10:42 PM
Subject: pass form.variable by URL


> I am trying to pass a form.variable to another cfm page but with no
> success.  I have a form variable call INFO and my code of trying to
> pass the variable through window.open using URL is like :
>
> <input type="button" value="go" onclick="window.open('<cfoutput>
> myaction.cfm?msg=#form.info#</cfoutput>\,'','height=300,width=300')";>
>
> and CF server returns an error since it does not recognize #form.info#
> within the window.open.  I tried to replace #form.info# with
> info.value but it makes no different.
>
> If there is anyone have any idea please give me a hand.
>
> thanks
>
>
>
> --------------------------------------------------------------------------
> Global Internet phone calls, voicemail, fax, e-mail and instant messaging.
> Sign-up today at http://www.hotvoice.com
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to