火狐执行子页面方法

$("#ID").get(0).contentWindow.document.defaultView.functionName()

 

 

下面这个执行的时候 经常会报方法找不到的错误

$(parent.$("#ID")[0].contentWindow.document).ready(function(){
    parent.$("#ID")[0].contentWindow.functionName();    
  });

 

 

posted on 2012-05-10 17:29  圣一辉一楠  阅读(190)  评论(0编辑  收藏  举报

导航