Check documentation for the latest version of dhtmlxSuite getText DHTMLX Docs

getText

returns the tab's text

string getText();
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