Thanks for the input Isaac. I dunno-- the more I've talked about it, the more I've convinced myself that maybe jsstringformat really does do all it should do. (This has been a good- thought provoking thread for me) I just wish I could feel better about the solution of manually escaping the script tags when placing your JS in an HTML script block. Edge case or not, like I said before-- it just doesn't feel right. It doesn't seem bullet-proof.
That is probably because I have a knee-jerk reaction to code that looks like someone is going through extra trouble to code something in a complicated way to make it work. Generally when I see that is means you aren't doing something right in the first place. Like when someone adds a distinct or a group by to a query not because they need it, but because that was the only way they could get rid of their dupes due to their poorly crafted joins. When I have to manually escape script tags it just reeks of "wrong". Like there should be a better, bullet-proof way if I just re-thought my code. Unfortunately, there doesn't seem to be an elegant answer to this one that will give me the warm fuzzies as I code it. ~Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295637 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

