DHTMLX Docs & Samples Explorer

removeItem(name, value)

Removes item.

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
myForm.removeItem(name, value);
  // for other items
myForm.removeItem(name);