javascript get elements with value in classname code example
Example: how to get element by class name javascript
document.getElementsByClassName("legend").style.display="none";
document.getElementsByClassName("legend").style.display="none";