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