开发者

Problem with C# SDK ver 5 -

I'm trying to run the MVC website sample and running into this problem; Microsoft JScript runtime error: Syntax error in regular expression

var a=document.cookie.match('\\bfbs_'+FB._apiKey+'="([^;]*)\\b'

What am I dong w开发者_JAVA百科rong ??


The document.cookie.match() is unclosed. There seems to be a trailing " that isn't present (at a guess) and also the FB._apiKey may contain some reserved characters that need escaping.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜