display only button but still show the hidden html code example Example: how to hide div in html document.getElementById('elementName').hide();