Ascalonian
Programmer
OK, here is an odd question:
Is there a point to using both visibility AND display together? For example:
I understand the difference between the two but I am looking at someone else's code and saw they used both together and made me think about it more.
Is there any drawback to this?
Is there a point to using both visibility AND display together? For example:
Code:
var someDiv = document.getElementById("someDiv");
someDiv.visibility="hidden";
someDiv.display="none";
I understand the difference between the two but I am looking at someone else's code and saw they used both together and made me think about it more.
Is there any drawback to this?