• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript with Radio Button

 
Shrinivas Mujumdar
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am working with JSP 2.0(EL enabled). I want to display data in a table. i will try to explain the look & feel of Table below.
Table has 2 columns & 3 rows(max.). First cloumn head is Select where for each row there would be a Radio Button & one of the default radio button would be selected depending on some other options(back end processing will provide the info. about the same). 2nd column contains some information for first row. Where as for 2nd & 3rd row i am trying to use a common area for information display in a table as shown below.
Requirement is when 2nd radio button is selected region "Textfields & combo" should dispaly data specific to 2nd option & same applies to 3rd radio button.
How i could achieve the same?

|-----------------|----------------------|
| Select | Description |
|-----------------|----------------------|
| 1st Radio | desc |
|-----------------|----------------------|
| 2nd Radio | |
|-----------------| Text fields & combo |
| 3rd Radio | |
|-----------------|----------------------|

Thanks in advance
Shrinivas
 
Christian Nash
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Didn't quite understand the 2nd and 3rd radio button functionality.If i do not select either the 2nd or 3rd button what will the 2nd column display. Why would you want two radio buttons for the same area(description column) having different data?
 
Shrinivas Mujumdar
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This problem is solved....
See you can imagine as
2nd Radio Button when selected will display say Account No...Acccount Type etc of a user for Bank 'A' where as when i click on 3rd Radio Button it should display same information of say Bank 'B' that's why area is common
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic