正如你在这里看到的,我有一个项目符号列表。该列表中的最后一个选项是“其他”。选择其他时,我希望显示“如果其他,请在此处描述:”元素和相应的输入框。如果未选择“其他”,那么我想将其隐藏。
这可能吗?
<div class="section section_required">
<asp:Label ID="PleaseSelect" runat="server"
Text="Please select the type of content:"></asp:Label>
<br />
<br />
<asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="675px">
<asp:ListItem Value="content1">Alumni Achievement/ Alumni Profile</asp:ListItem>
<asp:ListItem Value="content2">List of Training Sites or Locations our Graduates are working</asp:ListItem>
<asp:ListItem Value="content3">Employer/ Advisory Board Testimonials</asp:ListItem>
<asp:ListItem Value="Content4">Appointments to Professional Organizations and Boards</asp:ListItem>
<asp:ListItem Value="Content5">Awards and Recognition</asp:ListItem>
<asp:ListItem Value="Content6">Bios</asp:ListItem>
<asp:ListItem Value="Content7">White Papers/ Articles/ Books Published</asp:ListItem>
<asp:ListItem Value="Content8">Student Acheivements/ Success Stories</asp:ListItem>
<asp:ListItem Value="Content9">Guest Speaker/ Lecture Series</asp:ListItem>
<asp:ListItem Value="Content10">Events/ Announcements</asp:ListItem>
<asp:ListItem Value="Content11">Photo/ Video of Past Events</asp:ListItem>
<asp:ListItem Value="Content12">Other:</asp:ListItem>
</asp:RadioButtonList>
<asp:Label ID="otherLabel" runat="server"
Text="If Other, please describe here: "></asp:Label>
<input id="otherTextbox" placeholder="Please describe here..." type="text" /><br />
<br />
我不知道从哪里开始。你能为我指出正确的方向吗?