[英]How can I open a popup window from an iframe through javascript?
有没有办法做到这一点?
As a rule of thumb, you can open a new window in JavaScript with window.open() . 根据经验,您可以使用window.open()在JavaScript中打开一个新窗口。 It shouldn't matter whether the code originates from an iframe or not.
代码是否来自iframe无关紧要。 Or am I misunderstanding the question?
或者我误解了这个问题?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.