Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get element by class name javascript

document.getElementsByClassName("legend").style.display="none";
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #element #class #javascript
ADD COMMENT
Topic
Name
6+4 =