onFileUploadError

fires in case of a server-side error during uploading

void onFileUploadError(object file,object response);
fileobjectthe file data
responseobjecta server-side response (if any)

Example

$$("uploader1").attachEvent("onFileUploadError", function(file, response){
    //code
});

Related samples

Details

The events fires only when the server-side response contains the error status, like:

echo "{ status:'error' }";
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.