164
rated 0 times
[
168]
[
4]
/ answers: 1 / hits: 15788
/ 12 Years ago, mon, september 10, 2012, 12:00:00
I'm trying to get the window.focus()
function to work with no luck.
var myWindow = window.open('','zzz','width=600,height=700');
myWindow.document.write('test');
myWindow.focus();
If you click run after the jsfiddle page loads then the new window should get back focus. What am I doing wrong?
More From » firefox