how to get the element by class name and tag name in javascript code example
Example: how to get element by class name javascript
document.getElementsByClassName("legend").style.display="none";
document.getElementsByClassName("legend").style.display="none";