jquery check if i am on last fieldset code example Example: find last element with class jquery $('#test div.a:last')