javascript - Background window popup -
javascript - Background window popup -
i opening new window popup , want maintain in background , maintain focus on current window. doing doesn't work.
var currentwindow = window; var newwindow = window.open("http://www.xyz.com"); currentwindow.focus();
i appreciate suggestions or kind of help.
if window doesn't ever need seen, instead utilize hidden iframe.
var iframe = document.createelement("iframe"); iframe.src = "http://xyz.com"; iframe.style.display = "none";
javascript javascript-events
Comments
Post a Comment