Answers for "javascript get dom element by class name"

16

getelementbyclass

var selector = document.getElementsByClassName('class-name');
Posted by: Guest on May-25-2020
2

how to get element by class name javascript

document.getElementsByClassName("legend").style.display="none";
Posted by: Guest on June-27-2020

Code answers related to "javascript get dom element by class name"

Code answers related to "Javascript"

Browse Popular Code Answers by Language