Can be be done with jquery or ajax?

Can be be done with jquery or ajax?

Hi, I have a desparate situation. Sorry for bothering you with it.


I have this:

  1.  <asp:RadioButtonList ID="RadioButtonList1" runat="server" align="center" style="width:20px;height:20px;zoom:150%; white-space:nowrap;"> </asp:RadioButtonList>

The values of RadioButtonList are not known until runtime.


However, I did a VIEW SOURCE and was able to get their values.

What we would like to do is determine the value of RadioButtonList1. It is say, for instance, 29, then show a certain textbox.

Here is one specific example:

  1. <tr> <td><input id="DataList1_RadioButtonList1_5_2_5" type="radio" name="DataList1$ctl06$RadioButtonList1" value="27" /><label for="DataList1_RadioButtonList1_5_2_5">Write In Candidate</label></td> </tr> <input name="DataList1$ctl06$writeIn" type="text" id="DataList1_writeIn_5" />

In the above, the value of RadioButtonList1 is 27 and the ID of the accompanying textbox is DataList1_writein_5

So we would like to say if the value of RadioButtonList1 is 27, show textbox with ID of Dataist_writein_5.

We want users to be able to type in their preferred name.

Can this be done with js?

I have to do this for 8 radiobutton with different values and I am struggling too much with it.

Thanks a lot in advance