IE:document.frames("Iframe_ID");
FF: document.frames("Iframe_ID") : document.getElementById("ifr_1").contentWindow;
IE和FF都兼容的方法:
var ifr = document.frames ? document.frames("ifr_1") : document.getElementById("ifr_1").contentWindow;
原文地址:http://hi.baidu.com/aji88/blog/item/39adca821e9cb596f703a63b.html