Hi I\'m uploading a file through an iframe.
HTML:
While you can destory the iframe
element, any HTTP requests it has made cannot be cancelled. This is by design of HTTP.
The closest analogy is that it's like trying to stop a bullet you've fired by destroying the gun.
Try flash uploaders. They have many advantages against standard uploading input, like multiple file upload, stopping upload queue, file size limit etc. Try a demo here: http://www.uploadify.com/demos/. Of course they have a bit complicated implementation.