Selecting the first “n” items with jQuery

You probably want to read up on slice. Your code will look something like this:

$("a").slice(0,20)

Leave a Comment