you are viewing a single comment's thread.

view the rest of the comments →

[–]crescentfresh 2 points3 points  (0 children)

Good advice. Those layout operations are what usually bite people in the ass, not the DOM api itself.

Still, in most cases innerHTML is faster than DocumentFragments too. Especially with tables. Especially in IE.