Hi,
I have a series of tables that I can use javascript to hide. I can do that for each table as follows:
document.all.myTable.style.visibility = "hidden"
My question is, can I do the same with DIV's? It makes sense to me that you should be able to do that like follows: document.all.myDiv.style.visibility = "hidden" which would hide everything inside the DIV tags.
However, I have tried a number of times to get this to work and I can't. How do you change the visibility of the DIV along with everything inside the DIV?
Thanks for your help,
Draug
I have a series of tables that I can use javascript to hide. I can do that for each table as follows:
document.all.myTable.style.visibility = "hidden"
My question is, can I do the same with DIV's? It makes sense to me that you should be able to do that like follows: document.all.myDiv.style.visibility = "hidden" which would hide everything inside the DIV tags.
However, I have tried a number of times to get this to work and I can't. How do you change the visibility of the DIV along with everything inside the DIV?
Thanks for your help,
Draug