DHTMLX Docs & Samples Explorer

clear()

Clears the list of files.

var myUploader = myForm.getUploader(name);
myUploader.clear();
// the same will do setItemValue w/o params
myForm.setItemValue(name);