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.
- Host: GitHub
- URL: https://github.com/skipperbent/jquery.async.upload
- Owner: skipperbent
- Created: 2015-12-16T21:39:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T10:23:01.000Z (over 10 years ago)
- Last Synced: 2025-11-17T10:24:20.456Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}
});
});
```