Check documentation for the latest version 6.0 of dhtmlxSuite setItemValue DHTMLX Docs

setItemValue

sets the value of an item or clears the list in uploader (if the 2nd param is omitted)

void setItemValue(string name, [mixed value] );

Parameters

namestringthe name of an item
valuemixedthe value of an input, optional

Example

myForm.setItemValue(name, value);
 
// for multiselect
myForm.setItemValue(name, [value1, value2, ... valueN]);

Back to top