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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -