To make a DIV visible or hidden from JavaScript use the code
<script type="text/javascript">
var DivToApply = document.getElementById("Div1");
DivToApply.style.visibility = "visible";
DivToApply.style.visibility = "hidden";
</script>
var DivToApply = document.getElementById("Div1");
DivToApply.style.visibility = "visible";
DivToApply.style.visibility = "hidden";
</script>
No comments:
Post a Comment