Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

filter htmlcollection

const chapters = document.querySelectorAll(".chapter-list-item:not(.active)");

console.log("Found elements:")
for (const chapter of chapters) {
  console.log(chapter.textContent, chapter.className)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #filter #htmlcollection
ADD COMMENT
Topic
Name
1+7 =