dom div show javascript code example
Example: javascript show div
' Toggles hide / show
function myFunction(div_id) {
var x = document.getElementById(div_id);
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}