DHTMLX Docs & Samples Explorer

Item type

To retrieve the type of control.
Apply to all items.

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

Retrieves one of [“checkbox”, “radio”, “input”, “select”, “label”] or null.