简体   繁体   中英

How to open Javascript popup from iframe window to parent window

I am working in jsp with javascript . Here i have use the iframe inside parent window. When i cliclk the button in iframe page the popup window will be opened inside iframe page. But i want to show the popup in parent window ? anybody help me.

Iframe look like in parent window:

采用:

myFrame.contentWindow.open()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM