Answers for "Javascript how hide items"

0

hide element js

function showStuff(id, text, btn) {
    document.getElementById(id).style.display = 'block';
    // hide the lorem ipsum text
    document.getElementById(text).style.display = 'none';
    // hide the link
    btn.style.display = 'none';
}
Posted by: Guest on February-21-2021
0

js hide element

Check this! https://dev.to/devlorenzo/js-hide-and-show-32og
Posted by: Guest on February-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language