[thelist] Hiding/showing table rows.
Rory.Plaire at wahchang.com
Rory.Plaire at wahchang.com
Thu Aug 30 13:26:03 CDT 2001
| Could anyone point me to some javascript code that will enable me to
| show/hide rows in a table (all client-side). I seem to have
| no luck this
| morning...
|
Hey Ryan,
This only works in IE 4+, and Moz and NN6, since it relies on CSS2 and DOM
Level 1.
function changeDisplayHead(isDisplayed)
{ if(isDisplayed)
{document.getElementById("TRID").style.display = 'none';}
else
{document.getElementById("TRID").style.display = 'inline';}
};
...
<tr id="TRID">
...
</tr>
<rory disposition="stirred not shaken" alt="8&"/>
More information about the thelist
mailing list