jquery 调用iframe页面中js的方法 兼容Ie,FF,chore浏览器 iframefunction()是子页面的方法 $(window.parent.document).contents().find("#iframename")[0].contentWindow.iframefunction();