Answers for "js how to hide an image"

0

js how to hide an image

function setImageVisible(id, visible) {
    var img = document.getElementById(id);
    img.style.visibility = (visible ? 'visible' : 'hidden');
}
Posted by: Guest on October-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language