Mark,

Try replacing < with &lt; and > with &gt;

...if you use Dreamweaver MX, change to WYSIWYG view and paste your
code in, it'll do it for you.

-joe

----- Original Message -----
From: Mark Drew <[EMAIL PROTECTED]>
Date: Tue, 13 Jul 2004 17:06:22 +0200
Subject: How to display coldfusion code in a text area
To: CF-Talk <[EMAIL PROTECTED]>

Hi all

I want to display the following code in a textarea box of a coldfusion page:

<!--- some comment --->

<cfparam name="attributes.content" type="stuct">

My mind has gone a blank this afternoon, I wanted to simply display

the code rather than it being processed by CF

would I do it in _javascript_ (split out any offending bits) ?? or is

there a simpler way?

Thanks in advance

--

Mark Drew

mailto:[EMAIL PROTECTED]

blog:http://cybersonic.blogspot.com/________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to