1
Answer

how to hide the progress bar when 100% is completed

narasiman rao

narasiman rao

8y
353
1
progress bar code in source aspx page
 
 function ShowProgress() {
setTimeout(function () {
var modal = $('
');
modal.addClass("modal");
$('body').append(modal);
var loading = $(".loading");
loading.show();
var top = Math.max($(window).height() / 2 - loading[0].offsetHeight / 2, 0);
var left = Math.max($(window).width() / 2 - loading[0].offsetWidth / 2, 0);
loading.css({ top: top, left: left });
}, 200);
 
he progress bar working but have a final issue that needs to be resolved. How do I hide the progress bar when it has completed 100% 
 
 I have one button called export when i click the open button progress bar will shown and excel will be open and i close the excel file.
 
When i close the excel file in background progress bar is running.
 
for that how can i hide that background progress bar
 
please help me.
 
 
 
 

Answers (1)