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