How to change browser focus from one tab to another
Posted
by Max
on Stack Overflow
See other posts from Stack Overflow
or by Max
Published on 2010-04-24T11:09:51Z
Indexed on
2010/04/24
11:13 UTC
Read the original article
Hit count: 395
JavaScript
|focus
Hi Folks,
I have a Javascript chat cient running in one bwroser tab (call it tab A). Now when a message arrives the user might be on another browser tab (call it tab B). I'm looking for ways to change the focus from tab B to my chat client (tab A) when such a message arrives. I could not find a way to do this. Any idea?
Thanks, Max
© Stack Overflow or respective owner