JQuery获取iframe中window对象的方法-contentWindow document.getElementsByTagName('iframe')[0].contentWindow 获取到的就是iframe中的window对象.