Hi,
We have a site that works with two tabs. Depending on the link you click the result will be loaded in one tab or other. We want the tab to get the focus when the user opens it. Every tab is defined as a target for when we do the window.open(whatever_url,target... ), we open in the right one and we call window.focus() to bring the focus to the destination tab. It is quite simple and it works like a charm for every browser... except IE.
We've tried following Microsoft steps https://msdn.microsoft.com/en-us/library/ms536425(v=vs.85).aspx but it doesn't work.
"Windows Internet Explorer 8 and later. The focus method no longer brings child windows (such as those created with the open method) to the foreground. Child windows now request focus from the user, usually by flashing the title bar. To directly bring the window to the foreground, add script to the child window that calls the focus method of its window object."
We've tried as well playing with the blur method in the current tab but it doesn't work neither.
Are we doing anything wrong? any workaround to sort this please?
Thanks,
David.