window.Open causes new window to appear behind parent
I was wondering if anyone knew of a way to prevent IE fr开发者_Python百科om popping up child windows behind the parent.
Have you tried giving the new window focus?
newwindow = window.open(...);
if (window.focus) {
newwindow.focus();
}
精彩评论