Check documentation for the latest version of dhtmlxSuite onBeforeClear DHTMLX Docs

onBeforeClear

fires before the user clears the list of files to upload (clicks the button )

void onBeforeClear();

Example

myForm.attachEvent("onBeforeClear", function(){ // your code here return true; });

Details

returning false will cancel the 'clear' operation

Back to top