Navigation: Advanced topics > Programming topics > Tabs/Sections Javascript API > Sections methods
Returns the number of sections on the page.
Syntax
getSectionCount()
Arguments
No arguments.
Return value
Example
Count the number of sections.
var sections = pageObj.getSectionCount();
See also:
•Sections API: getSection
•Tabs API: count
•About Tabs/Sections API