getElementsByClassName hidden code example
Example 1: javascript hide element by class
document.getElementsByClassName('class_name')[0].style.visibility='hidden';
Example 2: get element by class
var elements = document.getElementsByClassName(names); // or:
var elements = rootElement.getElementsByClassName(names);
Example 3: js get element by class
document.getElementsByClassName('Name');