How could I make a live progress bar. This is what I am using as the progress bar, the bootstrap progress bar.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="progress">
<div class="progress-bar" role="progressbar"
aria-valuemin="0" aria-valuemax="100">
Time Passed
</div>
<div class="center">Time Left</div>
</div>
How can I make it so that it updates live, by adding 1% every second. I need to have it so the width of the class progressbar changes to a certain amounts of pixel. 100px=100% filled progress bar.
Let me know I am not clear enough.