title: JQuery Combine Each with Live
body: <p>I have a couple of divs that are updated with Ajax calls (It's MVC, but the HTML looks something like this when it's done):</p>
  
  <pre><code>&lt;div class="progresswrapper running" id = "ProgressWrapper1"&gt;&lt;/div&gt;
  &lt;div class="progresswrapper running" id = "ProgressWrapper2"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Then the javascript:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(function () {
  
   var timerid = window.setInterval(function () {
              $('.progresswrapper.running').each(function () {
                   UpdateDivWithDataFromServer();
                   if(I'm done with this div) {
                      $(this).removeClass("running");
                   }
              });
          }, 500);
  </code></pre>
  
  <p>Is it possible to do this somehow?</p>