tab.setFocus (Client API reference)
Sets the focus on the tab.
Syntax
tabObj.setFocus();
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets the focus on the tab.
tabObj.setFocus();