Check documentation for the latest version of dhtmlxSuite isItem DHTMLX Docs

isItem

returns "true" if an item exists

boolean isItem(string name, [string value] );
namestringthe name of an item
valuestringthe value of an item (for a radio button)
booleanthe item exists/doesn't exist

Example

//for radio buttons
var isExist = myForm.isItem(name, value);
 
//for other items
var isExist = myForm.isItem(name);

Back to top