Is it possible to cancel file upload that uses hidden iframe?
I've tried to set source of iframe to empty string, but upload haven't been interrupted.
Is it possible to cancel file upload that uses hidden iframe?
I've tried to set source of iframe to empty string, but upload haven't been interrupted.
Currenty setting iframe src to "javascript:false" works for me.
the iframe is the transport channel that is carrying the form posting, so Atanas is correct, you have to stop the transport inside the iframe.
here is a way of doing it depending on browser:
Try this:
I'm not sure but i guess removing the iframe from the dom should be enough?