Please enable JavaScript to view this site.

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

Sections API: headerElement

Scroll Prev Next More

 

Returns the jQuery object of the section header.

Syntax

headerElement()

Arguments

No arguments.

Return value

Returns the jQuery object of the section header.

Example

Change the first section title to "Active Section" written in bold.

 

var section = pageObj.getSection(0);
section.headerElement().find('a').html('<b>Active Section</b>');

See also:

Sections API: getSection

Tabs API: headerElement

Grid Row JavaScript API: row.fieldCell()

Editing the <head> section

About Tabs/Sections API