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.
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.
my jquery code is
$('#all_member').click(function(){
$("#people_form input:checkbox").attr('checked', true);
return false;
});