Reputation: 1235
I am trying to get 4th child from an element children. When i console element.children()
console.log(element.children())
It shows all children in array which is fine.
I want to get only 4th child , marked in red circle. I tried
console.log(element.find(':nth-child(4)'))
but it shows multiple results from subsequent children. Please help how to select nth child. Thanks
Upvotes: 1
Views: 436