jquery 调用iframe页面中js的方法 兼容Ie,FF,chore浏览器

  iframefunction()是子页面的方法

  $(window.parent.document).contents().find("#iframename")[0].contentWindow.iframefunction(); 

posted @ 2011-10-14 13:19  HTL  阅读(16683)  评论(3编辑  收藏  举报
htl