Well, I need some help. I have a list in the following structure.
<ul>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
<li>TESTE</li>
</ul>
<a href="#">Carregar Mais</a>
Initially only 10 elements should be displayed, the rest should be hidden, when you click the load button more, it will load 10 more until you have nothing else to show.
I tried to do this using .length in jQuery, I got it to tell that I have 30 li's, but when I try to hide it, it gives a display: none in all elements.