Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show table rows 1

Status
Not open for further replies.

JohnShell

Technical User
Aug 29, 2003
35
US
Hi,

have table with 5 rows. First 2 rodes visible. Last 3 rows hidden -

<tr id="row1" style="display: none">
<tr id="row2" style="display: none">
<tr id="row3" style="display: none">

With onclick would like to make those rows visible to user - how can I do that?

thank - john
 
Investigate the following:

- The "document.getElementById" command
- Setting the "style.display" property of an element
- Using the "table-row" display style.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Snippets & Info:
The Out Atheism Campaign
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top