Please enable JavaScript to view this site.

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

Sections API: getSectionCount

Scroll Prev Next More

 

Returns the number of sections on the page.

Syntax

getSectionCount()

Arguments

No arguments.

Return value

Returns the number of sections on the page.

Example

Count the number of sections.

 

var sections = pageObj.getSectionCount();

See also:

Sections API: getSection

Tabs API: count

About Tabs/Sections API