Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get element by class

const whiteBoxes = document.getElementsByClassName("box-white")
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #element #class
ADD COMMENT
Topic
Name
6+5 =