N
N
ninja op op2020-05-05 23:13:19
JavaScript
ninja op op, 2020-05-05 23:13:19

How to keep only 15 last child elements?

I know, there is jquery code - $(object).slice(15).remove();
But it leaves only 15 FIRST children, and you need the LAST.
Does anyone know how this can be implemented?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question