// Update progress bar xhr.upload.addEventListener("progress", uploadProgress, false); function uploadProgress(evt) { if (evt.lengthComputable) { var percentComplete = Math.round(evt.loaded * 100 / evt.total); //for my progrss bar $(fileParentDivobj).find("progress").attr('value',evt.loaded); $(fileParentDivobj).find("progress").attr('max',evt.total); $(fileParentDivobj).find(".ImgDiv").find("span").html(percentComplete + '%'); } }//upload progress
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)