How can I cancel a queue file to upload? The cancel button don't do that, the cancel button only change the class of input and the upload occour normaly in hidden, that's wrong....
How can I cancel a queue file to upload via JavaScript API?
I'm using this way to get the click of CANCEL BUTTON:
function onCancel() { var upload = $find('AsyncUpload1');
for (x in upload) {
console.log(x);
}
$('.ruCancel, .ruRemove').live('click', function () { $(this).closest('li').remove();
});
}
window.onload = onCancel;
I'm using console.log to see al methods in upload object and return that: (But i don't know how to use these methods and what's cancel a specific queue upload)
__msdisposeindex _element