:: Forum >> Version 1 >>

Hiding table using Javascript

HI,
I have two tables which will be available in the Page.
I want to hide one table and show the other according to a condition.
Which ever table i am displaying should be displayed at the top
Anish
Saturday, October 1, 2005
Hi,

But the table in a div container and in javascript call a function based on your events:

oel = document.getElementById ("divcontainer");
oel.style.display = "none"; /* hide the div with id divcontainer */
John Ophof http://open-modeling.sourceforge.net
Saturday, October 1, 2005



This topic is archived.

Back to support forum

Forum search