ASP.Net RadioButtonList: использование jQuery для выбора ListItem

иметь 2 RadioButtonList:

Are you a minor?:  oYes  oNo
Do you wish a joint account?:  oYes  oNo

Если ответ на 1-й вопрос - да, я хочу определить ответ на первый вопрос и установить ответ на 2-й вопрос как «да», используя функцию jQuery. Заранее спасибо.

<asp:Label ID="lblMinfor" CssClass="boldIt" runat="server" Text="Is this account for a minor" Style="float: left; width: 200px;"></asp:Label><br />
<asp:RadioButtonList ID="rdlMinor" runat="server" RepeatDirection="Horizontal" Width="130px" Style="float: left;" BorderStyle="None" RepeatLayout="Flow" ()>
    <asp:ListItem>Yes</asp:ListItem>
    <asp:ListItem Selected="True">No</asp:ListItem>
</asp:RadioButtonList>
<asp:Label ID="lblJoint" CssClass="boldIt" runat="server" Text="Is this for a joint account?" Style="float: left; width: 200px;"></asp:Label><br />
<asp:RadioButtonList ID="rdlJoint" runat="server" RepeatDirection="Horizontal" Width="130px" Style="float: left;" BorderStyle="None" RepeatLayout="Flow">
    <asp:ListItem>Yes</asp:ListItem>
    <asp:ListItem Selected="True">No</asp:ListItem>
</asp:RadioButtonList>
8
задан HQtunes.epizy 13 October 2015 в 10:38
поделиться