我从网上下的最新的json.js,使用时出了问题,将Json.js里的代码片断显示出来了,怎么弄也弄不掉。但是还非用json.js这个文件不行,我的一个DLL(AjaxPro)里要用到toJSONString()方法,如stri.toJSONString()。
怎么样保留toJSONString()方法,而不出现代码片段的问题。前提不能改DLL。很急!!
----------------------------------------------
 $(o.panelTemplate).attr('id', id)就是这句出错
attr()是jquery的方法,给o.panelTemplate加属性的,o.panelTemplate本来是 <DIV> </DIV> ,id是hzjie01 ,但是加玩id以后outerHTML就变成下面那个样子
---------------------------------------这就是用Jquery一个插件生成的一个DIV
<DIV class="ui-tabs-panel ui-tabs-hide" id=hzjie01 style="min-width: 0px; function (w) {
        var a = [],     // The array holding the partial texts.
            k,          // The current key.
            i,          // The loop counter.
            v;          // The current value.
// If a whitelist (array of keys) is provided, use it assemble the components
此处省略若干字
" jQuery1205463789682="10"> </DIV>