có 2 RadioButtonLists:ASP.Net RadioButtonList: sử dụng jQuery để có được những ListItem chọn
Are you a minor?: oYes oNo
Do you wish a joint account?: oYes oNo
Nếu câu trả lời cho câu hỏi 1 là có, tôi muốn để phát hiện các phản ứng cho câu hỏi đầu tiên và thiết lập các câu trả lời cho câu hỏi thứ 2 là có sử dụng hàm jQuery. Cảm ơn trước.
<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>
Bạn có thể gửi mã HTML cho các nút? – JaredPar
Tôi đã đăng mã. – Susan