Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get all elements by class starting with

document.querySelectorAll("[class^=page]")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #elements #class #starting
ADD COMMENT
Topic
Name
4+7 =