title: Enable or disable button based on radio button does not work in jQuery?
body: <p>I have written in aspx file as </p>
  
  <pre><code>&lt;asp:Button ID="btn" runat="server" Text="Add As a Sub Organization" OnClick="lnkChild_Click" ValidationGroup="GroupA" class="btn-u" CausesValidation="true" /&gt;
  
      &lt;asp:GridView ID="grdDuplicateOrganisationList" AutoGenerateColumns="false" runat="server" CssClass="table"
              DataKeyNames="OrganisationId" GridLines="None"&gt;
              &lt;Columns&gt;
                  &lt;asp:TemplateField HeaderText="Organization"&gt;
                      &lt;ItemTemplate&gt;
                          &lt;div style="text-align: left"&gt;
                              &lt;asp:RadioButton runat="server" ID="rdoOrganisation" GroupName="Child" onclick="javascript:CheckOtherIsCheckedByGVID(this);"&gt;&lt;/asp:RadioButton&gt;
                              &lt;%# DataBinder.Eval (Container.DataItem, "Name") %&gt;
                          &lt;/div&gt;
                      &lt;/ItemTemplate&gt;
                  &lt;/asp:TemplateField&gt;
                  &lt;/columns&gt;
               &lt;/asp:GridView&gt;
  
      &lt;script type="text/javascript"&gt;
  // function alert() { return confirm("Your Message was sent successfully!") } $(function () { $("[data-toggle='popover']").popover() })
  
  
  
  $(function () {
      if (!($('#&lt;%= grdDuplicateOrganisationList.ClientID %&gt; tr td').find('input:radio').is(':checked'))) {
                         $('#&lt;%= btn.ClientID%&gt;').attr('disabled', true).attr('title', 'Select organization then click...');
                     }
                 });
  
                 $('#&lt;%= grdDuplicateOrganisationList.ClientID %&gt; tr td').find('input:radio').on('change', function () {
      if ($(this).is(':checked')) {
          $('#&lt;%= btn.ClientID%&gt;').attr('disabled', false).attr('title', '');
                     } else {
          $('#&lt;%= btn.ClientID%&gt;').attr('disabled', true).attr('title', 'Select organization then click...');
                     }
  
              });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Now I want that If user will click on radio button then btn should be enabled. 
  The above JavaScript does not work.</p>