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

delphi - blogger via idHTTP : error 400 bad request -

c++ - cuda, pycuda -- how to write complex numbers -- errors:class "cuComplex" has no member "i" -

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