javascript – i want to use bootstrap Animated stripes to show when page is loading the % and when complete and not based on seconds-ThrowExceptions

Exception or error:

This is the Html:

<div class="progress">
  <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>
</div>

Using JQuery i am trying to achieve

1: page loads and shows live %

2: the progress-bar should read the page loading and not predefined seconds

3: when 100% and page opens it turns into green instead of blue

I need help with figuring out where to start.

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *