javascript - window.open and .Net WebServices -


I do not know the reason for this symptom, but it goes here. In our web app, we call window.open to open a new window / tab (internally set to open in a new tab). After opening this new tab, IE8 switches focus to it immediately

Then we integrate a web service, so we call this web service, which in turn invites callback javascript function He returns when he returns. Now we are calling window.open from within the callback function. When we do this, IE8 opens a new tab, but does not switch focus, calls on the parent page on window.focus and the child page does not do anything.

Now, I know that Javascript is not fought, but is there anything that is with Asynchronities? Is there a way to behave the browser as expected?

I believe that by default, IE only focus on new tabs, if a user starts If the call is not in response to a UI action, IE is probably opening tabs in the background such that it was a popup type, Although it is obvious that it is not being blocked by a popup blocker.

If you are in the intranet environment and can specify settings, have you tried setting the checkbox on the tabbed browsing settings dialog to "Always switch to a new tab" check box?


Comments