This jQuery block creates a strange loop by some error
<p>Curious if anything jumps out here.</p>

<p>But when I run this code block :</p>

<pre><code>    $items = $('ul#jobs_to_approve').find('.checked').parents('li');
    $items.fadeOut(function(){
      $items.find('.checked').removeClass('checked').addClass('unchecked');
      $.each($items, function(i, val) { 
        $.post($(val).attr('data-url'), function(data) {
          $(val).attr('data-url', $(val).attr('data-url').replace('approve','disapprove') );
        });
      });
      SSK.quickbooks.check_active_approvals();
      $('ul#jobs_to_sync').prepend($items.fadeIn());
    });
  },
</code></pre>

<p>So if I have 2 items selected for $items, by the time it gets to the end, it is sending 4 Ajax requests. For 3 items, it sends 9 ajax requests. For 4, it sends 16 AJAX requests. There's a pattern. ;)</p>

<p>My question is..why is it not sticking to the original number? </p>
