摘要:
1 var doc = document.all ? document.frames[0].document : document.getElementById("iframe").contentDocument;2 console.log(doc.body.innerHTML);3 console.log(doc.getElementById("box").innerHTML);1 var iframe = document.getElementById("xx");2 var doc = document.all ? iframe 阅读全文