JSON parse错误
results=$("#articleCommentDiv").attr("context");
data=JSON.parse(results);
results的内容是
{
"requestType":"ajax",
"path":"/爱的色放的说法",
"articleId":699286459,
"targetChannel":"新闻中心",
"targetMenu":啊的说法答复"
}
json那行报错SyntaxError: Unexpected token u