Javascript - How to make browser switch tabs?

In my code, the timed event fires ModalDialog. If the user switches tabs before the event, the tab blinks, but it is it.

Is there a way to switch the browser to the tab that the dialog is in?

thank

Greetings to all your advice. I have to say this before, but the code will run through IE, and users are not allowed to change any settings.

+2
source share
2 answers

/, 100% , . ... .

, , , .

+10

. Internet Explorers ( , ), Safari . Firefox ( , ), , - .

window.focus(), .

+6

All Articles