Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Tabs/Sections Javascript API > Tabs methods

Tabs API: show

Scroll Prev Next More

 

Shows the n-th tab (zero-based).

Syntax

show(n)

Arguments

n

a zero-based index of the tab.

Return value

No return value.

Example

Show the third tab.

 

var tabs = pageObj.getTabs();
tabs.show(2);

See also

RunnerPage object: getTabs

Tabs API: hide()

JavaScript API: RunnerPage object > showField()

RunnerPage class: showField()

About Tabs/Sections API