jquery how to select last element with class name code example Example: find last element with class jquery $('#test div.a:last')