this.element.style.display = "none" code example
Example: getelementsbyclassname.style.display
document.getElementsByClassName('xyz')[0].style.display = 'none';
document.getElementsByClassName('xyz')[0].style.display = 'none';