Posts by Bruno Marques • 38 points
2 posts
-
0
votes1
answer217
viewsA: Limit a loop
A solution, even efficient, to limit the number of iterations in the loop is to limit the return of the SQL query (this avoids loading data that will not be used): select * from perfil limit 5;…
-
2
votes1
answer580
viewsQ: How to enumerate page Divs with jquery?
I would like to list all Ivs with spans of id="position" to simulate a classification. Ex: <div id="conteudo"> <div id="time"><span id="posicao">1.</span> Nome1</div>…