Ajax上传图片支持每个浏览器 [英] Ajax Upload Image With support in every browser
本文介绍了Ajax上传图片支持每个浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想用mvc3中的ajax调用上传图片。我知道我们可以用
1)FormData(在I.E 7中不支持)。
2)IFrame(我不能使用iframe,因为我需要在ajax调用中发布图片)。
有没有办法在ajax调用中发布图像。并且会在每个浏览器中支持。
谢谢
Hi all,
i want to upload image with ajax call in mvc3. i know that we can do this with
1)FormData(Not Supported in I.E 7).
2)IFrame ( I can not use iframe for this because i need to post image in ajax call).
Is there any way to post image in ajax call. and will support in every browser.
thanks
推荐答案
试试这个插件
http:// zurb。 com / playground / ajax_upload [ ^ ]
希望这有助于
Try this Plugin
http://zurb.com/playground/ajax_upload[^]
Hope this helps
这篇关于Ajax上传图片支持每个浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文