JSFiddle - React, Tailwind, and code Playground

by robertpurpose

HTML

<div class="another">
<label for="rbPType">Select One</label>
<asp:RadioButtonList runat="server" ID="rbPType" ClientIDMode="Static">
<asp:ListItem Value="0" Text="1"></asp:ListItem>
<asp:ListItem Value="1" Text="2"></asp:ListItem>
<asp:ListItem Value="2" Text="3"></asp:ListItem>
</asp:RadioButtonList>
</div>
<div id="remind">
                     <label for="ddlReminderMonth">Remind Me</label>
                     <asp:DropDownList runat="server" ID="ddlReminderMonth" AppendDataBoundItems="true" AutoPostBack="false" />
                </div>

JavaScript

$('#rbPType').click(function () {

if ($(this).val()=="0") {
$("#remind").fadeIn();
}
else {
$("#remind").fadeOut();
}

});