获得获得iframe divwindow.frames['iframe1'].document.getElementById('tip').innerText解释:如上iframe1为iframe标签的id,tip为iframe标签中嵌套的页面的div中的id