Is there a way of uploading an image using AJAX/jQuery without the use of Flash or iframes?

谁说胖子不能爱 提交于 2019-12-24 00:55:19

问题


Also trying to avoid any use of plugins, (apart from jQuery of course, whether you would call that a plugin or not). I have a large system already and don't really want to load it with loads of plugins. Of course, if I need too I'll be looking for something very light weight.


回答1:


I dont think so. Even if some of the well known javaScript image upload plugin use iFrame under the hood.




回答2:


Try this, http://www.9lessons.info/2011/08/ajax-image-upload-without-refreshing.html



来源:https://stackoverflow.com/questions/11162907/is-there-a-way-of-uploading-an-image-using-ajax-jquery-without-the-use-of-flash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!