showing results for - "javascript last elements same class"
Naomie
16 Jan 2017
1var someElementsItems = document.querySelectorAll(".some-element");
2console.log(someElementsItems[someElementsItems.length -1])
similar questions
queries leading to this page
javascript last elements same class