Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

Open diferent screen within a jsp screen

 
garfild Baram
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I have few radio button and I need each one that is marked to open a different screen/table on top of the one that was opened previously.
Please advise
Thanks
Jo
 
Dilip Kumar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
on selection of radio button call a javascript function, in that function use window.open("pageName"), then it will opens another window
 
garfild Baram
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks for the reply.
I have few question if I may.
How do I catch the event of clicking the radio button?
Can I show a new Table on the same form for each radio button selection instead of opening new window?
Thanks again mate
Jo
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
"TheLeap",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
If you are going to sign your posts 'Dilip Kumar', this must also be your display name.
Thanks.
Dave
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a HTML/Javascript question and is not related to JSPs, so I'll get the thread moved for you.
Dave
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Since you started a topic in here, I will close this one and continue the discussion there.
 
    Bookmark Topic Watch Topic
  • New Topic