I have been studying the process of the file uploading via http. My question is that how the file is upload via ajax and not through full page postbacks. I want to know how the file is transmitted via ajax. I read this article. The article mentioned says this method is not possible if the FormData is not available. But I want to know is there anyother method to make the ajax file upload work on all the browser without using iframe method?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
without FormData
you need to use iframe
. Alternativly there are libraries which emulate the functionality using a hidden flash or silverlight.