tab.setFocus (Client API reference)
Sets the focus on the tab.
Syntax
tabObj.setFocus();
Denne browser understøttes ikke længere.
Opgrader til Microsoft Edge for at drage fordel af de nyeste funktioner, sikkerhedsopdateringer og teknisk support.
Sets the focus on the tab.
tabObj.setFocus();