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