I have a link which opens an iframe.
<a href"https://www.suse.com/common/inc/feedback_overlay.html?iframe=true">Test</a>
I want to open this link (iframe) in pop up if anyone clicks on a link.
Please help.
答案 0 :(得分:0)
function OpenInNewTab(url) {
var win = window.open(url, '_blank', 'height=500,width=500');
}
<a href"#" onClick="OpenInNewTab('https://www.suse.com/common/inc/feedback_overlay.html?iframe=true');">Test</a>