document.getElementById("MsgFrame").contentWindow.document.lastChild.outerHTML = "<html><body>ssss</body></html>";
这样报“无法设置outerHTML属性”错误,但是
document.getElementById("MsgFrame").contentWindow.document.lastChild.outerHTML;这样确可以把值读取出来,高手赐教!!!