Reputation: 33
I have a list of the same divs which are hidden. Now there are few of the same div which are not hidden, how do i get the last of them?
Upvotes: 0
Views: 65
Reputation: 4095
Use the last()
function from a selector that can select the divs that aren't hidden.
Upvotes: 1