Answer the question
In order to leave comments, you need to log in
How to find the last div and remove all others?
How can I find the last div
one and delete all the others?
<div id='container'>
<div>block_1</div>
<div>block_2</div>
<div>block_3</div>
<div>block_4</div>
<div>block_5</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question