Содержание

getTabCount

Returns the number of tabs.

Syntax

getTabCount = function();

Returned value

Examples

  1. //Create 10 tabs
    for(var i = 0; i<9; i++) createTab();
    //Get the number of tabs
    var tabCount = getTabCount();
    log(tabCount);