jsStringFormat(String)
On Fri, Feb 5, 2010 at 12:44 PM, Chad Gray <[email protected]> wrote: > > I there, or what is the best function to use to make sure text being placed > in JS is JS safe? > > I have for example some text that contains a single quote and when I > CFoutput it into the JS the JS breaks. > > URLEncodedFormat? > > Thanks! > Chad > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330438 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

