Check documentation for the latest version 6.0 of dhtmlxSuite getText DHTMLX Docs

getText

returns the tab's text

string getText();

Returns

stringtab's text

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
 
// get tab text
var text = myTabbar.tabs("a1").getText(); // -> "Rage"

Change log

added in version 4.0

Back to top