onBeforeFileUpload

fires before the uploader has started to upload a file

boolean onBeforeFileUpload(object file_config){ ... };

Parameters

file_configobjectan object with the file configuration

Returns

booleanreturning false will prevent file uploading

Example

$$("fmanager").attachEvent("onBeforeFileUpload",function(file_config){
    // your code
    return true;
});

See also
Back to top