Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
10-23-2009, 11:57 AM #1
- Join Date
- Oct 2009
- Thanked 0 Times in 0 Posts
Really weird behavior of window.focus() method
I am facing a really weird situation with
window.focus(). Bascially the user is prompted with a confirm box after a certain amount of time of inactivity on the page. To get the window in focus, we are usign the
Below is the snippet of code:
If the window where the code is minimized, it works fine. The window comes back into focus and the confirm box is displayed.
But, if the window where the code is placed inteh background using ALT+TAB, the code does not work. the window does not come back into focus. Instead, the taskbar icon blinks, indicating that some activity has occured.