DHTMLX Docs & Samples Explorer

Item type

To get the type of an item, use the getItemType method.
Apply to all items.

var type = dhxForm.getItemType(name, value); // for radio buttons 2nd argument value should be passed

Returns the type of an item (for example, “input”) or null.