Using JavaScript to change a CSS
Posted: Fri May 23, 2003 11:53 am
Hey, I am using javascript to hide / unhide div boxes. I do:
document.all.DivBoxName.style.visibility = "value"; // If IE
document.getElementById("DivBoxName").style.visibility = "value";
I tried doing the same thing just changing visibility to a diff property but it wont work. Anyone know why? besides a lack of knoledge on my part
?
document.all.DivBoxName.style.visibility = "value"; // If IE
document.getElementById("DivBoxName").style.visibility = "value";
I tried doing the same thing just changing visibility to a diff property but it wont work. Anyone know why? besides a lack of knoledge on my part