有没有人知道如何从IFRAME中获取HTML我已尝试过几种不同的方法:
document.getElementById('iframe01').contentDocument.body.innerHTML
document.frames['iframe01'].document.body.innerHTML
document.getElementById('iframe01').contentWindow.document.body.innerHTML
Run Code Online (Sandbox Code Playgroud)
等等