jquery hide all elements with attribute code example
Example: javascript hide element by class
document.getElementsByClassName('class_name')[0].style.visibility='hidden';
document.getElementsByClassName('class_name')[0].style.visibility='hidden';