iframe调用外层页面的方法:
 

parent.func();

外层页面调用里面的iframe中的内容方法:
 $("iframe").contents().find("body")
  .append("I'm in an iframe!");

相关文章: