iframeName.document.body.clientHeight

解决方案 »

  1.   

    window.docuemnt.iframeName.document.body.clientHeight
      

  2.   

    <iframe src='http://www.e-picc.com.cn/ebiz/servlet/com.general.ebiz.ms.info.tradetrends.TradeTrendsServlet?saction=15&category=4'  
            NAME='PICC_CoverInfo'
            ID='PICC_CoverInfo'
            FRAMEBORDER=0        
            marginWidth="0"
            marginHeight="0"
            scrolling=no
            width="100%"
            onload='var f=document.all["PICC_CoverInfo"]; var b=f.Document.body; f.height=b.scrollHeight'> 
    </iframe>