I have this code:
<div id="parent">
<div>
<div id="Container1" >
<div id="Container1">
<object>.....</object>
</div>
</div>
</div>
<div onclick="appear()" id="child-2">
<div id="child-of-child"></div>
</div>
</div>
I've put the CSS bellow to stop display the first child of div#parent and I'm trying to display with a reaction via JavaScript.
CSS
div#parent div:first-child div:first-child {
display: none;
}
How can I display the the second div#Container1 also? Because if I use the code bellow, it displays only the first div#Container1.
Javascript
<script type="text/javascript">
function appear() {
document.getElementById("Container1").document.display="block";
}
</script>
Thanks in advance.