Ynx dear Robert!
----- Original Message -----
From: "Robert Nyman" <robert.nyman@c...>
To: "javascript" <javascript@p...>
Sent: Thursday, November 21, 2002 2:32 PM
Subject: [javascript] SV: Hide Table
Depends on what browser you're targetting...
For IE 4+ and Netscape 6+ you can hide with:
IE4:
document.all["tableName"].style.display = "none";
or document.all["tableName"].style.visibility = "hidden";
IE 5+ and Netscape 6+:
document.getElementById("tableName").style.display = "none";
or document.getElementById("tableName").style.visibility = "hidden";
To show it again, change the value to "block" for the display property
and "visible" for the visibility property.
If you need it to work for Netscape 4, you have to place within a layer
and then hide the layer.
/Robert
-----Ursprungligt meddelande-----
Från: Hovik Melkomian [mailto:melvik@b...]
Skickat: den 21 november 2002 11:49
Till: javascript
Ämne: [javascript] Hide Table
Hi list:
Can I hide a table, or disable?!
Tnx,
Hovik.