RE: CF and JavaScript HELP - Maybe OT?

2004-01-15 Thread John Grubb
Forgot to mention we're stuck in CF 4.0, but thanks for the response. Nice to know someone cares ; ). I think I'll have to manually escape each special character withcfset mystring = Replace(mystring, ', \', ALL) Maybe you have a better solution? John -Original Message- From: Ubqtous

Re: CF and JavaScript HELP - Maybe OT?

2004-01-15 Thread Ubqtous
John, On 1/15/2004 at 10:07, you wrote: JG I think I'll have to manually escape each special JG character with cfset mystring = Replace(mystring, ', \', JG ALL) JGMaybe you have a better solution? If CF4 supports replacelist(): cfscript mystring=foo to the bar; lstbad=foo,bar;

Re: CF and JavaScript HELP - Maybe OT?

2004-01-14 Thread Ubqtous
John, On Wednesday, January 14, 2004, 4:34:22 PM, you wrote: JG Everything works fine until I get a non alpha-numeric character, JG i.e., ., , ', /, , (, ), in the #WholeName# JG variable. Then, _javascript_ bombs and returns an error: error JG expected ';'. JG Can someone help me with handling