Is it possible to select the last 5 child divs of an element?
Yes, you can get the div elements, and then use the slice method to get the last five:
slice
var e = $('#someelement > div').slice(-5);
548k questions
547k answers
4 comments
86.3k users