Hi,

I have a jsp which contains a list of radio buttons. I want that when the user selects any one of them the value of the corresponding radio button be passed to a textbox on the same page.

How would I do that, I have no idea.

Please help!!!!!!!!!It's urgent.

Thanks a ton in advance

Saswati

Javascript. most likely. Ask on the JavaScript Forum.

You can use a java script function in the jsp page like


<form method = ......jsp onSubmit=ReadRadioButton()>

And in ReadRadioButton() , you can write the code needed to read the value.

Yes, script is the only way you are going to get this behavior. With straight JSP it would require a post to the server and redisplay of the new page.