Line 152: | Line 152: | ||
var elem = document.getElementById(elementID); | var elem = document.getElementById(elementID); | ||
+ | |||
+ | document.getElementsByClassName("block").style.display = "none"; | ||
alert(elem); | alert(elem); | ||
− | |||
elem.style.display = "block"; | elem.style.display = "block"; | ||
Revision as of 12:45, 20 September 2017