skip to Main Content

HTMLElement: hidden property

I have a HTML UL element that I want to hide with the .hidden property dynamically with JavaScript. Problem is, when there is a CSS rule: display: block on the element, the hidden property does not work. document.getElementById('myid').hidden = true;…

VIEW QUESTION
Back To Top
Search