DHTMLX Docs & Samples Explorer

isItemEnabled(name, value)

boolean
Returns true if item is enabled.

Parameters:

  • name - the id of item (the item's parameter 'name')
  • value - the value of a radio button ( the radio's parameter 'value'). Required for 'radio' items only
  // for radio button
var isEnabled = myForm.isItemEnabled(name, value);
  // for other items
var isEnabled = myForm.isItemEnabled(name);

See also: