>-----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!

At 08:21 2000-07-18 -0500, Larry Juncker wrote:
>Have you tried the following?
>
><cfset var = "&lt;img src=&quot;img.gif&quot;
>javascript=do.it('1')&gt;&lt;cfoutput&gt;#someothervar#&lt;/cfoutput&gt;">
>
>This seemed to work for me.

Problem is that I need to keep the <>"'#:s and use them later on. Plus; I 
don't know what strings I'm going to deal with.
I need to find a way to have cf ignore everything <cfset a ="!here!"> and 
just accept it. Quotes, brackets, single quotes, html and so on. Otherwise 
I can't use it to output what i need later down in the script.

//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.

Reply via email to