Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

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
0
Wayne Barron
Asked:
Wayne Barron
  • 2
1 Solution
 
Jared_SCommented:
This worked when I tried it...

<tbody id="one" class="off">

<tbody id="two" class="off">

<tbody id="three" class="off">
0
 
leakim971PluritechnicianCommented:
what is the problem with this : http://jsfiddle.net/VFFF5/
0
 
Wayne BarronAuthor Commented:
Thanks a bunch.
I did not think about the class="off"
I did not know it existed.

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

Carrzkiss
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now