var ifr = document.getElementById('ifr');

var win = ifr.window || ifr.contentWindow;
win.a(); // 调用iframe中的a函数
05-06 01:07