有没有办法使用AJAX / jQuery上传图片而不使用Flash或iframe? [英] Is there a way of uploading an image using AJAX/jQuery without the use of Flash or iframes?

查看:137
本文介绍了有没有办法使用AJAX / jQuery上传图片而不使用Flash或iframe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也试图避免任何插件的使用(除了jQuery当然,你是否会称之为插件)。我已经有一个大的系统,并不真的要加载与插件的负载。当然,如果我也需要,我会寻找一些非常轻量级的东西。我不这么认为。即使一些众所周知的javaScript图片上传插件使用iFrame底层。

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.

解决方案

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

这篇关于有没有办法使用AJAX / jQuery上传图片而不使用Flash或iframe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆