Please enable JavaScript to view this site.

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

Sections API: getSection

Scroll Prev Next More

Syntax

getSection( n )

Arguments

n

a zero-based index of the section.

Return value

Returns the RunnerSection object representing the n-th section on the page (zero-based).

Example

Return the first section.

 

var sec = pageObj.getSection(0);

See also:

RunnerPage object: getTabs

Sections API: getSectionCount

Grid Row JavaScript API: row.getKeys()

About Tabs/Sections API