We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bff15b + d1a356d commit 4e339c7Copy full SHA for 4e339c7
jquery-patterns/append.html
@@ -20,7 +20,7 @@
20
// documentFragment off-DOM
21
var frag = document.createDocumentFragment();
22
$.each(reallyLongArray, function(count, item) {
23
- var newLI = '<li>' + item + '</li>';
+ var newLI = $('<li>' + item + '</li>');
24
frag.appendChild(newLI[0]);
25
});
26
$('#ballers')[0].appendChild(frag);
0 commit comments