Chamnap wrote:
I develop a form allow the user to upload with the hidden iframe.
While in the progress, I allow the user to cancel their upload. In
javascript, does it have cancel the request to the server.
Parse error.
I have one solution, but I don't like it. I remove the iframe element,
so it won't upload anymore.
If, and only if, the UA's DOM allows that, it is *maybe* possible that
the upload is stopped this way.
Do you any other solutions better than this?
A man comes to the doctor and says: "Doc, it hurts when I do this." ...
I have already explained to you why iframes for upload are bad idea.[1]
You can add this problem as another reason for that to the list.
HTH
PointedEars
___________
[1] <46**************@PointedEars.de>
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16