I am outputting a string into a form field where the contents contains a 
set of quotes.  But escaping them doesn't work can someone help with this?

The Code
<cfoutput query="getCurrReports">
        <input class="boxes" type="text" value="#replace(Job_Name, chr(34), 
chr(92) & chr(34), "all")#" name="JobName#ii#">
</cfoutput>


when I view the sorce code I see
GSM \"KOVU\"

I have also tried
GSM &quote;KOVU&quote;

but the input box will only read
GSM \       for the first example
and
GSM           for the last example

How can I escape these characters?
Thanks,
Ray
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to