- onclick: Have to click twice in order for a div to hide/show
- <input type="button" id="logintrigger" value="Log In" onClick="hideshow();"/>
- function hideshow() {
- var toggle = document.getElementById('logincontainer');
- toggle.style.display = toggle.style.display == "none" ? "block" : "none";
- }