DHTMLX Docs & Samples Explorer

onFileAdd

Occurs when the user adds a file to the upload queue.

Parameters:

  • realName- the real name of the file (as it's displayed in the control)
myform.attachEvent("onFileAdd",function(realName){
    //any custom logic here
});