I have a signup.aspx page with a radio button list
<asp:radiobuttonlist id="kita1" runat="server">
<asp:listitem id="option1" runat="server" value="first" />
<asp:listitem id="option2" runat="server" value="second" />
<asp:listitem id="Listitem1" runat="server" value="third" />
</asp:radiobuttonlist>
and I need to get the value of the selected item and save it to a variable
how can I do that with javascript ?
2
Answers
try this way