We have a template that we allow users to use to send e-mail. We call it
like this:
<A HREF="javascript:void(0)" onClick="Emailwin=window.open
('EmailForm.cfm','thewin','width=560,height=380,top=1,left=1');">
Stuff</A>
It works, but, on the actual EMailForm, we are hard coding the recipient.
We want to send the recipient's e-mail as a recipient. So I tried this:
<cfset recipient = "[EMAIL PROTECTED]">
<cfoutput>
<A HREF="javascript:void(0)?recipient=#recipient#" onClick
="Emailwin=window.open
('EmailForm.cfm','thewin','width=560,height=380,top=1,left=1');">
Stuff</A>
</cfoutput>
When I hover over the link, I see javascript:void(0)?[EMAIL PROTECTED]
in the browser status bar. When I click on the link, the new window opens,
but the variable does not get passed.
Any suggestions?
-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: [EMAIL PROTECTED]
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)