Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var dropzone = new Dropzone(".upload-zone", {
- url: 'http://.....',
- .....
- uploadprogress: function(file, progress, bytesSent) {
- var $progressElement = $("[data-dz-uploadprogress]");
- $progressElement.text(parseInt(progress) + '%');
- $progressElement.css('width', progress + '%');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement