nefiga
05-18-2005, 10:58 PM
I'm using the following statement in javascript/coldfusion and need help:
function somefun()
{
var myText = <cfoutput>#editor.text#</cfoutput>
}
The problem is, I need to treat myText as a string, and the #editor.text# contains both " and ' characters.... how do I get around the problem of early string termination and such?
Any help would be appreciated, thanks
function somefun()
{
var myText = <cfoutput>#editor.text#</cfoutput>
}
The problem is, I need to treat myText as a string, and the #editor.text# contains both " and ' characters.... how do I get around the problem of early string termination and such?
Any help would be appreciated, thanks