title: How to compare the value of selected value in radiobuttonlist
body: <pre><code>&lt;asp:RadioButtonList ID="ckbLstPartner" runat="server" 
                                      RepeatDirection="Horizontal" CssClass="cssRdlstMoheSacm"&gt;
                                  &lt;asp:ListItem Text="Yes" Value="1"&gt;&lt;/asp:ListItem&gt;
                                  &lt;asp:ListItem Text="No" Value="0"&gt;&lt;/asp:ListItem&gt;
                                  &lt;/asp:RadioButtonList&gt;
  </code></pre>
  
  <p>Good Day for everybody,  I don't know why it's not taking an action when I compare the val() with '1' to get the tr displayed, please advice. </p>
  
  <pre><code>$('#&lt;%=ckbLstPartner.ClientID %&gt;').change(function () {
       if ($('#&lt;%=ckbLstPartner.ClientID %&gt;').find('option:checked').val() == '1') {
  
              $('#trSetPartnerNamesAvailability').show();
              $('#trSetPartnerInfoAvailability').show();
          }
          else {
              $('#trSetPartnerNamesAvailability').hide();
              $('#trSetPartnerInfoAvailability').hide();
              $('#&lt;%= txtPartnersName.ClientID %&gt;').val('');
              $('#&lt;%= txtReqScoreCourseAccept.ClientID %&gt;').val('');
              $('#&lt;%= txtCourseAcceptNote.ClientID %&gt;').val('');
  </code></pre>