hide all elements but one class javascript code example
Example: how to hide javascript element by class
document.getElementsByClassName('className')[0].style.visibility='hidden';
document.getElementsByClassName('className')[0].style.visibility='hidden';