Show a div after running jquery .each() not working
<p>I am trying to do a select all script with custom checkboxs and what is happening is that the result number will update however it shows the count up because each checkbox submits the form to get the accurate result number. however when doing the select all which will initiate the click event it shows the number progressing and i want it to only show once the .each event is done. with the current code it will not run the second function to show the div again here is my code for it any help would be great:</p>

<pre><code>$('.select_all').live('click',function(){
    $('#psf_search_results_number').hide();
    $('.psf_grp_content input[name="type[]"]').each(function(){
        $(this).click();
    });
    return false;
},function(){
    $('#psf_search_results_number').show();
});
</code></pre>
