G
Guest
I have below.
<asp:RadioButtonList ID="rblConfirm" runat="server">
<asp:listitem value="Yes">Yes</asp:listitem>
<asp:listitem value="No">No</asp:listitem>
</asp:RadioButtonList>
In my codebehind I have
rblConfirm.Attributes["onclick"] = "javascript:EnableIndependentValues(this)";
How do I get the selected value in my Javascript?
Also why does onchange not work?
<asp:RadioButtonList ID="rblConfirm" runat="server">
<asp:listitem value="Yes">Yes</asp:listitem>
<asp:listitem value="No">No</asp:listitem>
</asp:RadioButtonList>
In my codebehind I have
rblConfirm.Attributes["onclick"] = "javascript:EnableIndependentValues(this)";
How do I get the selected value in my Javascript?
Also why does onchange not work?