[jQuery] performance $(o).html(val)
Hi,
I noticed that when i replace a large table(1000 tr's) in a div with
$('#div_id").html(val);
The performance gets poor, i got over 10000 calls to the functions
nodeName() and unique(). Replacing the line with
document.getElementById('div_id").innerHTML=val; is more then 4
seconds faster in my case.
Is the html() function meant for something else or am i using it wrong
or is this still a performance issue?
regards.
Hans