Got it! Thanks!
-----Original Message-----
From: John Morgan [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 6:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Passing CF string to JavaScript
At 05:44 PM 8/18/00 -0700, you wrote:
>What formatting function will escape that single quote properly?
Use the replace function like this:
Replace(term,"'","\'")
BTW: The second parameter is double quote, single quote, double quote
BTW: The third parameter is double quote, back slash, single quote, double
quote
You escape quotes with a back slash in JavaScript.
-John-
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.