fires when the user cancels uploading of a file (clicks the button ).
myForm.attachEvent("onUploadCancel", function (realName){ // your code here });