Содержание

selectTab

Activates the specified tab.

Syntax

selectTab = function(aTabIndex);

Parameters

  • aTabIndex
    • functions: Index of activated tab

Notes

  • If aTabIndex less than 0, it will be activated random tab.

Examples

  1. //Activate first tab
    selectTab(0);
  2. //Activate random tab
    selectTab(-1);