title: JQuery Check for Checkbox is checked
body: <p>The function always returns false, eventhough the checkbox is checked. I really couldn't crack down what i'm doing wrong. I'm using a checkbox to enable and disable the textbox in the gridview. However, it doesn't seem to work. Thanks for the help. I have posted the html and jq code below.</p>
  
  <p>HTML code:</p>
  
  <pre><code>&lt;asp:GridView ID="grdFees" runat="server" AllowPaging="false" CssClass="Grid" AutoGenerateColumns="false" EmptyDataText="No Data Found" EmptyDataRowStyle-HorizontalAlign="Center" EmptyDataRowStyle-CssClass="gridItem" TabIndex="5"&gt;
  &lt;Columns&gt;
  &lt;asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="center"
                                  ItemStyle-HorizontalAlign="center" ItemStyle-Width="2%"&gt;
                                  &lt;ItemTemplate&gt;
                                      &lt;asp:CheckBox ID="chkselect" runat="server" CssClass="checkbox" 
                                      Width="15px" Checked="false" /&gt;
                                  &lt;/ItemTemplate&gt;
                              &lt;/asp:TemplateField&gt;
  
  &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Jquery code:</p>
  
  <pre><code>$(document).ready(function() 
      {
          $(".checkbox").click(function()
          {
          if ($(this).is(":checked")) 
          {
              alert("true");
          }else
          {
              alert("false");
          }
  });
  </code></pre>