Problem with big amount of dom elements
<p>I have problem with DOM elements I need to add 2000 blocks. I try to do this by setTimeout, but then events not working with this elements. Anyone what mistake I have made?</p>

<pre><code>function init(){ 
    $('#regions').prepend("&lt;ul&gt;&lt;/ul&gt;"); 
    setTimeout(function(){ 
        var opt=$('#regions ul'); 
        for(var i=0; i&lt;50; ++i){ 
            for(var j=0; j&lt;50; ++j) 
                opt.append('&lt;li class=\"field\"&gt;&lt;/li&gt;'); 
        } 
    }, 0); 
} 
</code></pre>
