On 13 Feb, 10:37, howa <[EMAIL PROTECTED]> wrote: > Hello, I want to loop thru each elements with the each() function, > except I want to skip the last element, are there simple method?
hi, I would exclude the last item directly within the selector $('#elements').not(':last').each(function(){ // code here });