插件 jQuery.Upload File 中文API文档
插件 jQuery.Upload File 中文API文档 https://github.com/hayageek/jquery-upload-file
jQuery Upload File
Overview
jQuery Upload File plugin provides Multiple file Uploads with progress bar.Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.
Demo
http://hayageek.com/docs/jquery-upload-file.php
Documentation
http://hayageek.com/docs/jquery-upload-file.php#doc
jQuery File UPload plugin provides Multiple file uploads with progress bar. jQuery File Upload Plugin depends on Ajax Form Plugin, So Github contains source code with and without Form plugin.
1). Add the CSS and JS files in the head sections
<link href="http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js"></script>
2). Add a div to body to handle file uploads
<div id="fileuploader">Upload</div>
3). Initialize the plugin when the document is ready.
<script>
$(document).ready(function()
{
$("#fileuploader").uploadFile({
url:"YOUR_FILE_UPLOAD_URL",
fileName:"myfile"
});
});
</script>