Open Houses

#myDIV { display: none; width: 100%; padding: 5px 0; text-align: left; background-color: white; margin-top: 5px; } window.addEventListener("DOMContentLoaded",function(){ var node=document.getElementById("myButton"); node.addEventListener("click",function(e){ var node=document.getElementById("myDIV"); var display=window.getComputedStyle(node).getPropertyValue("display"); if(display=="none"){ node.style.display="block"; } else { node.style.display="none"; } }); });
1