khalim - Fri, 2010-02-05 15:57
Just found this sort of holy grail of JQuery looping. As usual, I have little time to elaborate.... so here's what I did:
To show only a specified number of entries in a tag-set. The example here is on a set of divs with class="comment".
This is how I used the each method. (In my usage) each() takes a function as a parameter.