<iframe id="XXX" scrolling="auto" frameborder="0" width="100%" height="570px" src="XXX"> </iframe>
var 变量名称= document.getElementById('XXX').contentWindow.变量名称;
<iframe id="XXX" scrolling="auto" frameborder="0" width="100%" height="570px" src="XXX"> </iframe>
var 变量名称= document.getElementById('XXX').contentWindow.变量名称;