• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Javascript with Radio Button

 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Hold that thought. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic