Answers for "hidden element js"

0

js check if element hidden

if (elem.getAttribute("hidden") != null){
  //code if elem is hidden
}
Posted by: Guest on December-05-2020
3

how to hide div in html

document.getElementById('elementName').hide();
Posted by: Guest on November-09-2019
-2

set element hidden javascript

isHidden = HTMLElement.hidden;

HTMLElement.hidden = true | false;
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language