How to make jQuery selector run faster or run it in chunks
<p>I have a simple jQeury code that runs on a web page that has more than 50,000 lists of people. On IE I get the message that a script is taking too long. I would like to get rid of that annoying popup in IE.</p>

<p>If I need to add 50,000 DOM elements then I could use timer to defer work in chunks. I am not sure if timer would be of any help in this case when I am selecting from the large chunk of data.</p>

<p>my jquery code is </p>

<pre><code>$('#all_member').click(function(){
    $("#people_form input:checkbox").attr('checked', true);
    return false;
});
</code></pre>
