Rune Grønkjærs Blog
Abonnér på mit feed

Category Archives: tests

jQuery.Append() speed test

Long I and my colleagues have been wondering which method is best for adding DOM (Document Object Model) elements to other DOM elements. jQuery has a super method jQuery.append(), which can be used for the task. One calls jQuery.append() on a jQuery selection, and send it/the elements which they want incorporated into the the selected item. That in itself is very smart because it saves us a lot of hassle code. The problem is so… How to use the jQuery append method in the best way? We must be able to save som time. Especially when you want to insert many elements into the DOM.
Also posted in html, Javascript, jQuery |
Dansk version