JSON.stringify在IE兼容模式下不起作用,原來是序列化對象是一個easyuiTree的樹節點對象,過於復雜的對象
SCRIPT70 權限,問題出現在獲取頁面iframe時:
var iframeObj=$('table id#right ifram',$('#contentFrame',$(window.parent.document))0].contentWindow.document);
這樣得到的iframeObj.length為0。
從網上找到答案,用原生javascript獲取元素即可(可能是jquery版本問題),故改為
var iframeObj=$('#contentFrame',$(window.parent.document))[0].contentWindow.document.getElementById('right').getElementsByTagName('iframe');