It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes Need Help on HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need Help on HTML" Watch "Need Help on HTML" New topic

Need Help on HTML

Shrikanth Nekkanti
Ranch Hand

Joined: Jul 12, 2007
Posts: 48
I have created 3 radio buttons say R1,R2,R3.
By default R1 is selectd and Table corresponding to R1 say T1 is displayed along with R1 selection.
When user selects R2 Table corresponding to R2 say T2 should be displayed in place of T1. similarly when user selects R3 a table corresponding to R3 say T3 should be displayed in place of T1/T2.

Can anybody resolve this problem for me.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Create a function that does something like

add onclick handlers that call the function with the table id to show


Make sure to set the display="none" on the tavles you do not want to appear.

I agree. Here's the link:
subject: Need Help on HTML
It's not a secret anymore!