Perhaps you could set up a queue using window.setInterval() and limit your appends to 40 or so rows every couple of seconds? Also, do you have an example page where your script can be viewed?
- jake On Feb 4, 2008 1:57 PM, Ashish <[EMAIL PROTECTED]> wrote: > > Hi , > > I am very new to jquery. I am using jquery 1.2.2 . I use jquery > tablesorter to insert around 400 rows to a table. The data is > collected using an Ajax call. > > When new rows are inserted to the table the CPU utilization shoots up > to 80%. All browsers freeze until the table is populated :( > > I tried to insert 400 divs to a single div and faced the same problem. > This rules out a problem with tablesorter. > > Does jquery attach a lot of handlers to dom events that make appends > very slow ? > > Any suggestions would be much appreciated. > > Thanks and regards, > - Ashish >