RAdio button onclick

i am trying to do some thing with radio button.

my main tergate is that i have 2 radio button and 2 text field.
when i click on a radio button1, then the corrosponding text field say
text1 will b active, and another text field say text2 will b inactive.

and again when if we click on the other radio button2 then the
corrosponding text field say text2 will be active and text1 will b
inactive…

NOTE : Basically i am very new in Ruby On Rails…so i cant do this.
if anyone kindly hepl me i will be very much thankful to him/her

Soutom Soutom wrote:

i am trying to do some thing with radio button.

You’ll want to ask this question on rubyonrails-talk. This is the
deployment mailing list about, well, deploying Rails application, not
developing them.


Roderick van Domburg