KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I set focus back to the parent window when in another browser tab? I've tried: window.opener.focus(); to no avail. It only seems to work when the windows are not docked. I need this to work in Chrome, IE9/10, Firefox, and Safari. Internet Explorer also seems to have issues setting focus to a child window. E.g. when using: var windowRef = window.open(url); then later from the same tab: windowRef.focus(); // ok in Chrome, doesn't seem to work in IE...
Tags (comma-separated)
Save Edits
Cancel