我在index页面嵌套一个iframe,引入iframe.html,iframe上有一个方法,叫‘say’,在iframe页面将其赋给父window。(两个页面同域)
Q:
以下是两个页面的源码:
index.html
iframe.html
this is a iframe
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生