小编use*_*488的帖子

asp.net中的javascript

<asp:RadioButtonList ID="RdoBtnHasNotified" runat="server" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="RdoBtnHasNotified_SelectedIndexChanged">
    <asp:ListItem Value="1">Yes</asp:ListItem>
    <asp:ListItem Value="0" Selected="True">No</asp:ListItem>
</asp:RadioButtonList>


<asp:TextBox ID="TxtHowNotified" runat="server" TextMode="MultiLine" MaxLength="100"></asp:TextBox>
Run Code Online (Sandbox Code Playgroud)

我希望TextBox通过单击来启用RadioButtonList,而不使用autopostback=true.我怎么能用JavaScript做到这一点?

javascript asp.net

6
推荐指数
1
解决办法
505
查看次数

标签 统计

asp.net ×1

javascript ×1