jQuery - After number of elements add html!
<p>I need to know if I can count the elements inside a div and after 3 elements to add an html object.</p>

<pre><code>&lt;div id="wrapper"&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
//insert html with jQuery here
&lt;a href="#"&gt;1&lt;/a&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
//insert html with jQuery here
&lt;a href="#"&gt;1&lt;/a&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
&lt;a href="#"&gt;1&lt;/a&gt;
//insert html with jQuery here
&lt;/div&gt;
</code></pre>
