append a close tag with jquery
<p>i have this situation:</p>

<p>here start foor loop ...</p>

<pre><code>$("#sez:last").append("&lt;div id=\"sezDati\" class=\"counter_"+d+"\"&gt;"+name+"&lt;/div&gt;");         if ( d  ==  6  ){ $("#sez:last").find(".counter_6").after().wrap("&lt;/div&gt;&lt;div id=\"sezDati\"&gt;");
}
d++
</code></pre>

<p>After 6 div #sezDati i need to append first a close tag  then reopen a sezDati div...
Any help??</p>

<p>thanks</p>
