Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.uploader').fileupload(
- {
- dropZone: $('.upload-drop-zone'),
- dataType: 'json',
- url: uploadUrl,
- progress: function (e, data)
- {
- // data.files is an array of several files, so I don't know which file this progress event is for???
- var progress = parseInt(data.loaded / data.total * 100, 10);
- }
- });
- // Later on I use this to start the upload of files
- $('.uploader').fileupload('send', { files: myArrayOfFiles });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement