可以通过拖拽上传文件的javascrip

Introduction

File upload form element has been available for ages, for all the frontend developer, the file upload form element can cause headache because it's very hard to reskin, and it only has the most basic feature - file selection. Now, we have AJAX based file uploader which able to provide instant feedback, file type restriction and some other great feature such as the drag and drop capability of HTML5. 

We have found 7 Javascript Ajax File upload plugins and most of them come with these basic features:

  • Multiple File Uploads
  • Drag and Drop
  • Real-time progress indicators
  • Custom upload restriction
  • jQuery File UploadjQuery File UploadFile Upload widget with multiple file selection, drag&drop support, progress bars and preview images for jQuery. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
  • Pixelcone FileuploaderPixelcone FileuploaderjQuery fileuploader uses html5 api which support ajax upload and drag and drop, and fallback to iframe upload for legacy browsers. It creates multiple forms to process multiple uploads. Each form can be processed by single upload script.
  • Ajax UploadAjax UploadThis plugin uses XHR for uploading multiple files with progress-bar in FF3.6+, Safari4+, Chrome and falls back to hidden iframe based upload in other browsers, providing good user experience everywhere. It supports drag & drop also.
  • PluploadPluploadThe developers of TinyMCE brings you Plupload, a highly usable upload handler for your Content Management Systems or similar. It supports chunking, drag & drop, image resize, file size restriction, upload progress and etc.
  • UploadifyUploadifyUploadify™ is a jQuery plugin that allows you to easily add multiple file upload functionality to your website. Two distinct versions (HTML5 and Flash) allow you the flexiblity to choose the right implementation for your site and fallback methods make it degrade gracefully. It supports multiple file uploads, drag and drop, real-time progress indicators and a lot of customization.
  • Ajax File UploadAjax File UploadThis AjaxFileUpload Plugin is a hacked version of Ajaxupload plugin created by yvind Saltvik, which is really good enought for normal use. Its idea is to create a iframe and submit the specified form to it for further processing. In this hacked version, it submits the specified file type of input element only rather than an entire form. Unlike the rest, this version is a bit dated and won't have HTML5 feature.
  • jQuery FileDropjQuery filedrop uses the HTML5 File API to allow users to drag multiple files from desktop to the browser, uploading each file to a user-specified URL. filedrop uses HTML5 FileReader() to read file data.

 

http://www.queness.com/post/11434/7-javascript-ajax-file-upload-plugins

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值