How to make js "for" loop more efficient?
<p>I am wondering how to make the loop below more efficient. On my page it has more iterations than 100, that is why, as you can imagine it is troublesome.</p>

<pre><code>    for (var i = 0; i &lt; 1000; i += 1) {
        var el = document.createElement('div');
        el.appendChild(document.createTextNode('Node ' + (i + 1)));
        document.getElementById('nodeHolder').appendChild(el);
    }
</code></pre>

<p>Thanx for help in advance.</p>
