aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Hidding Table View Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Hidding Table View " Watch "Hidding Table View " New topic

Hidding Table View

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 92
Hi All,

I want to hide the contents in a table. Below is the code which when clicked on the link actually hides the content of the table which is displayed when the page is loaded.

But what i want is to hide the content of the table first then after clicking the link the content should be displayed. How do I go about doing this? Can someone help me please.


SCJP 6.0
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Everything you need to know is there. Look at what the JavaScript is doing. Apply that to the html/css.

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 92
Thanks Eric. I got that working.
I agree. Here's the link:
subject: Hidding Table View
Similar Threads
Having problem using Ajax
Change in the text
Dynamically moving the DIV
JSP and Ajax interaction
struts-2 (set values to action class)