An open API service indexing awesome lists of open source software.

https://github.com/skipperbent/jquery.async.upload

Simple, lightweight jQuery plugin that enables async upload of files.
https://github.com/skipperbent/jquery.async.upload

Last synced: about 2 months ago
JSON representation

Simple, lightweight jQuery plugin that enables async upload of files.

Awesome Lists containing this project

README

          

# jquery.async.upload
Simple, lightweight jQuery plugin that enables async file upload.

## Example

```html

$(document).ready(function() {
$('#picture').asyncUpload({
postUrl: '/file/upload-image',
onComplete: function(response) {
// Triggers when file has been uploadet
},
onError: function(errors) {
// Triggers when an error occur
},
onLoad: function() {
// Triggers when the hidden form has been loaded
},
onFileChange: function() {
// Triggers when file has been chosen or changed
}
});
});

```