Check documentation for the latest version of dhtmlxSuite getItemLabel DHTMLX Docs

getItemLabel

returns the label of an item

string getItemLabel(string name, [string value] );
namestringthe name of an item
valuestringthe value of a radio button
stringan item's label

Example

// for a radio button
var text = myForm.getItemLabel(name, value);
 
// for other items
var text = myForm.getItemLabel(name);

Back to top