[英]How to open Javascript popup from iframe window to parent window
I am working in jsp with javascript . 我正在使用js在jsp中工作。 Here i have use the iframe inside parent window.
在这里,我在父窗口中使用了iframe 。 When i cliclk the button in iframe page the popup window will be opened inside iframe page.
当我按一下iframe页面中的按钮时,将在iframe页面中打开弹出窗口。 But i want to show the popup in parent window ?
但是我想在父窗口中显示弹出窗口吗? anybody help me.
有人帮我
Iframe look like in parent window: iframe在父窗口中看起来像:
采用:
myFrame.contentWindow.open()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.