<script type="text/javascript"> 
function getIframeContent(){  //获取iframe中文档内容
        var doc; 

        
if (document.all){//IE 
                doc = document.frames["MyIFrame"].document; 
        }
else{//Firefox    
                doc = document.getElementById("MyIFrame").contentDocument; 
        } 

        
return doc.body.innerHTML;


</script>

相关文章:

  • 2021-08-16
  • 2022-01-09
  • 2021-12-12
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
相关资源
相似解决方案