Advertisement
Guest User

Untitled

a guest
Aug 29th, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. var dropzone = new Dropzone(".upload-zone", {
  2.         url: 'http://.....',
  3.         .....
  4.         uploadprogress: function(file, progress, bytesSent) {
  5.           var $progressElement = $("[data-dz-uploadprogress]");
  6.           $progressElement.text(parseInt(progress) + '%');
  7.           $progressElement.css('width', progress + '%');
  8.         }
  9.       });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement