LPology / Simple-Ajax-Uploader

Javascript file upload plugin with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.
995 stars 268 forks source link

how to show two progress bar in single page #90

Closed vishnuc closed 8 years ago

vishnuc commented 9 years ago

I am trying to upload two images via two different buttons..So I am trying to show two progress for two buttons ,But one progress bar is overlapping antother. where i have two element progressBar1 and progressBar2 , So I call the functions two times

intializeup(1); intializeup(2);

function intializeup(para) { var btn = document.getElementById('mergedp'+paras), progressBar = document.getElementById('progressBar'+para), progressOuter = document.getElementById('progressOuter'+para), msgBox = document.getElementById('msgBox'); window['myVar'+para] = new ss.SimpleUpload({