Blueimp jQuery upload configuration -


i have configured blueimp upload progress bar , it's worked, message 'uploading' not changing 'upload finished'. thanks

$(function () {         $('#fileupload').fileupload({             datatype: 'json',             add: function (e, data) {                 data.context = $('<button/>').text('upload')                 .appendto(document.body)                 .click(function () {                     data.context = $('<p/>').text('uploading...').replaceall($(this));                     data.submit();                 });             },             done: function (e, data) {                 data.context.text('upload finished.');             },             progressall: function (e, data) {                 var progress = parseint(data.loaded / data.total * 100, 10);                 $('#progress .bar').css('width',progress + '%');             }                                });     }); 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -