In Firefox 3, when I open a new window (or tab), using window.open, the new window has focus, which is what I want.
In IE, the old window still has focus for some reason, so I have researched the problem my window.open code does this now.
var w = window.open("Sheet.aspx", "_blank");
w.focus();
Unfortunately, this isn't working for me in IE 7. The old window still has focus. What I am missing here?
I have IE set to open new pages in a tab, rather than a new page, and I've allowed popups for the domain my site is on.
I can see the IE progress indicator going on the second tab, but it never switches over to it.