在js中用了JSON.parse方法
在IE8,IE9,IE10兼容模式下提示JSON未定义,搜狗等IE内核的浏览器则是功能失效
chrome谷歌浏览器表现一如既往的好用
if(typeof JSON == 'undefined'){$('head').append($("<script type='text/javascript' src='/static/js/json2.js'>"));}SyntaxHighlighter.highlight();
在js中用了JSON.parse方法
在IE8,IE9,IE10兼容模式下提示JSON未定义,搜狗等IE内核的浏览器则是功能失效
chrome谷歌浏览器表现一如既往的好用
if(typeof JSON == 'undefined'){$('head').append($("<script type='text/javascript' src='/static/js/json2.js'>"));}SyntaxHighlighter.highlight();