simple file upload api
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
examples/express3
libs
src
test
CONTRIBUTING.md
LICENSE-MIT
README.md
grunt.js
package.json
sfupload.jquery.json

README.md

Simple File Upload JS API

Simple File Upload jQuery Plugin

Getting Started

In your web page:

<script src="jquery.js"></script>
<script src="dist/sfupload.min.js"></script>
<script>
$(function() {

    $('#files').sfupload({
        url: 'upload',
        dragndrop: true,
        onstart: function() {
            console.log('onstart');
        },
        onsuccess: function(file) {
            console.log('onsuccess');
        },
        onprogress: function(data) {
            console.log('onprogress');
            console.log(data);
        }
    });

})
</script>

Documentation

Demo

Release History

0.1.0 : initial revision