DHTMLX Docs & Samples Explorer

clear()

Clears items' values.

myForm.clear();

Parameters:

  • none

Description:

  • for inputs and textareas - clears;
  • for selects, multiselects - selects the first value;
  • and radiogroups - checks the first value;
  • for checkboxes - unchecks.