I have two buttons Show and Hide and I have an image so I want to know when I click the hide button the img will disappear and when I click show button it will appear again.
function show(){ document.getElementById('image').style.display = "inline"; } function hide(){ document.getElementById('image').style.display = "none"; }
Hide Show