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

onFileRemove

fires when the user removes single file from the list of files to upload (clicks the button )

void onFileRemove(string realName,string serverName){ ... };

Parameters

realNamestringthe real name of the file (as it's displayed in the control)
serverNamestringthe file name that the server returns after uploading or null if the file hasn't been uploaded to the server

Example

myForm.attachEvent("onFileRemove",function(realName,serverName){
    //your code here
});

Back to top