<p><b> Progress: <asp:Label ID="progressPercentageLabel" runat="server"></asp:Label>%</b></p>
<script>
function updateBar()
{
var bar = document.getElementById("CompletionBar");
var width = document.getElementById("progressPercentageLabel").innerText;
bar.style.width = width + '%';
document.getElementById("Percentage").innerHTML = width + '%';
}
setInterval(updateBar, 1000);
</script>
<asp:Timer ID="Timer1" runat="server" Interval="60000"></asp:Timer>
Is there a way to continuously update my loading bar every minute as directed by the Timer without displaying the Label? I'm struggling to connect the "width" variable to asp in order to have it behave like the label.
Appreciate any help. Thank you.