Have you tried the following?
<cfset var = "<img src="img.gif"
javascript=do.it('1')><cfoutput>#someothervar#</cfoutput>">
This seemed to work for me.
H Larry Juncker
L Senior Cold Fusion Programmer
I Heartland Communications Group
Internet Division
-----Original Message-----
From: Nicklas af Ekenstam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 7:37 AM
To: [EMAIL PROTECTED]
Subject: Escaping quotes, cf-tags etc
Hi!
What is the best way to accomplish something like:
<cfset var = "<img src="img.gif"
javascript=do.it('1')><cfoutput>#someothervar#</cfoutput>">
and not having cf evaulate everything in the statement?
I want to have included cf-files setting variables holding html and cold
fusion code and have them evaluated when they are outputed only.
Thanks!
//Nille
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.