96
rated 0 times
[
103]
[
7]
/ answers: 1 / hits: 22209
/ 13 Years ago, mon, july 11, 2011, 12:00:00
I am trying to find out the differences between style
- hidden
- block
- none
I am trying with this example, but unfortunately this isn't working.
Could anybody please let me know the answer?
<html>
<head>
<title>JavaScript Unleashed</title>
<script>
function callMe()
{
document.getElementById('layer1').style.visibility = 'block';
}
</script>
</head>
<body onload=callMe()>
<div name=layer1>
<hr>DIV 1<hr>
</div>
</body>
</html>
More From » javascript