get last class of the element jquery code example Example: find last element with class jquery $('#test div.a:last')