Solved

Hide TBody on Page Load

Posted on 2013-01-10
4
279 Views
Last Modified: 2013-01-10
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
Comment
Question by:Wayne Barron
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
Jared_S earned 500 total points
ID: 38763207
This worked when I tried it...

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

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

<tbody id="three" class="off">
0
 
LVL 82

Expert Comment

by:leakim971
ID: 38763244
what is the problem with this : http://jsfiddle.net/VFFF5/
0
 
LVL 30

Author Closing Comment

by:Wayne Barron
ID: 38763330
Thanks a bunch.
I did not think about the class="off"
I did not know it existed.

Thank you once again.
Carrzkiss
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 38763336
Hey leak
yours is not working for some reason?
Anyway, jared posted first.

Carrzkiss
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now