如何使用java脚本上传文件 [英] How to upload file with java script

查看:77
本文介绍了如何使用java脚本上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想上传用户在java脚本或JQuery中的html文件上传控件中浏览的图像文件。请 !帮帮我。

I want to upload a image file which is browsed by user in html file upload control in java script or JQuery . Please ! help me .

推荐答案

上传的创建始于BackgroundUploader。此类用于提供使应用程序在创建生成的UploadOperation之前配置上载的方法。以下示例显示了如何使用所需的Uri和StorageFile对象执行此操作。

请参阅这些链接

使用JavaScript和HTML创建文件上传器5 [ ^ ]

https://code.google.com/p/upload-at-click/ [ ^ ]
The creation of an upload begins with BackgroundUploader. This class is used to provide the methods that enable your app to configure the upload before creating the resultant UploadOperation. The following example shows how to do this with the required Uri and StorageFile objects.
see these links
Creating a File Uploader Using JavaScript and HTML 5[^]
https://code.google.com/p/upload-at-click/[^]


您正在寻找要获得免费控制权,请尝试 http://fineuploader.com/ [ ^ ]。
You are looking for a free control, try http://fineuploader.com/[^].


这篇关于如何使用java脚本上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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