One interesting side note is that, according to John Resig's
presentation on recent changes to jQuery internals (at last weekend's
jQuery conference):
for (var i=0; i 250; i++) {
$('lisome thing/li').attr('id', 'foo' + i).appendTo('ul');
}
... is now faster than this:
for (var i=0; i
You will get the fastest load time by building an HTML string and inserting
it. In a test case I wrote for the jQuery Cookbook, I got a *60X* faster
load time with a 1000-row table by using an HTML string instead of building
up the table with jQuery's DOM functions. You won't see that dramatic an
2 matches
Mail list logo