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

iframefunction()是子页面的方法

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

猜你喜欢

转载自awen7916.iteye.com/blog/2221443