Please enable JavaScript to view this site.

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

Tabs API: disable

Scroll Prev Next More

 

Makes the n-th tab disabled. The tab remains visible.

Syntax

disable( n )

Arguments

n

a zero-based index of the tab.

Return value

No return value.

Example

Make the fourth tab disabled.

 

var tabs = pageObj.getTabs();
tabs.disable(3);

See also:

RunnerPage object: getTabs

Tabs API: enable

Control object: isReadonly()

Control object: setDisabled()

About Tabs/Sections API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software