阅读背景:

如何使用JavaScript避免包含换行字符的JSON字符串?

来源:互联网 

I have to form a JSON string in which a value is having new line character. This has to be escaped and then posted using AJAX call. Can any one suggest a way to escape the string with JavaScript. I am not using jQuery.I have to form a JSON string in which a value i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: