function showErrors() { document.getElementById("errorsdiv").style.display = ""; document.getElementById("detailsbutton").style.display = "none"; }