title: Dynamic increment bootstrap progress-bar in a php foreach loop?
body: <p>I generate about 150 invoices in a php foreach loop (with dompdf class). This takes about 40s for the page/rendering to finish so I'm wondering if I can I place a bootstrap progress-bar before the foreach loop starts and inside this php foreach loop the width of this progress-bar should be incremented.</p>
  
  <p>Is this possible? With jquery?</p>
  
  <pre><code>&lt;div id="foo" class="progress progress-striped active"&gt;
    &lt;div class="progress-bar" style="width: 1%"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>