Link to home
Start Free TrialLog in
Avatar of Wayne Barron
Wayne BarronFlag for United States of America

asked on

Hide TBody on Page Load

Hello All;
In this project, I have the <tbody> set to hide, using JavaScript.
This works wonderfully.
However, what I am needing to do, is the following.

I need all them to auto-hide on page load.
If this was with <div> tags, I could do this, with no problem, however, the <tbody> tag, has put up somewhat of a challenge.

Here is the link, there is no ASP code on this, just has its extension.

http://www.cffcs.com/Tutorials/HideTDRow.asp

Could someone please assist me with this one?
Also, if someone has a better code than this one, that is fine as well.
However, it has to work identical and with the<tbody> in it, in order to work in my actual site projects.

Thank you
Carrzkiss
ASKER CERTIFIED SOLUTION
Avatar of Jared_S
Jared_S

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of leakim971
what is the problem with this : http://jsfiddle.net/VFFF5/
Avatar of Wayne Barron

ASKER

Thanks a bunch.
I did not think about the class="off"
I did not know it existed.

Thank you once again.
Carrzkiss
Hey leak
yours is not working for some reason?
Anyway, jared posted first.

Carrzkiss