有2个RadioButtonLists:ASP.Net RadioButtonList的:使用jQuery来获取列表项选择
Are you a minor?: oYes oNo
Do you wish a joint account?: oYes oNo
如果答案第一问题是肯定的,我想检测到的第一个问题的回应,并设置了答案到第二个问题是使用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>
你能后的按钮的HTML? – JaredPar 2012-02-22 21:38:44
我已经发布了代码。 – Susan 2012-02-22 21:41:08