Issue in coldfusion server side documentation regarding jsStringFormat output
Issue in coldfusion server side documentation regarding jsStringFormat output
if you have apostrophes or single quotes in your output, jsstringformat will incorrectly escape them which is fine for plain old javascript but causes a parse error when validating json. it seems like it's just the single quote that triggers it so my simple fix was to change the output for aaData to the following:
[code]
"#thisColumnString#"
[/code]
[code]
"#thisColumnString#"
[/code]
This discussion has been closed.