title: finding checkbox checked in a datalist
body: <p>I use asp.net . I have 3 nested datalist on a page. In inner datalist, there are ckeckboxes. I look likes below.</p>
  
  <p><img src="https://i.stack.imgur.com/E9Wcn.png" alt="enter image description here"></p>
  
  <p>my dalist's design is like below:</p>
  
  <pre><code>   &lt;asp:DataList ID="grdRubrikKazanimlari" runat="server" 
     OnItemDataBound="grdRubrikKazanimlari_OnItemDataBound" 
     CssClass="grdRubrikKazanimlari" &gt;
     &lt;ItemTemplate&gt;
        &lt;div style="width:100%;display:block;"&gt;
        &lt;asp:Label ID="lblDegTipIliskiID" runat="server" Visible="false" Text='&lt;%# DataBinder.Eval(Container.DataItem, "DegTipIliskiID")%&gt;'&gt;&lt;/asp:Label&gt;
        &lt;asp:Label ID="lblDegerlendirmeTipiID" runat="server" Visible="false" Text='&lt;%# DataBinder.Eval(Container.DataItem, "DegerlendirmeTipiID")%&gt;'&gt;&lt;/asp:Label&gt;
        &lt;h1&gt;
          &lt;asp:Label ID="lblDegerlendirmeTipi" runat="server" Text=""&gt;&lt;%# DataBinder.Eval(Container.DataItem, "DegerlendirmeTipi")%&gt;&lt;/asp:Label&gt;
        &lt;/h1&gt;
  
        &lt;asp:DataList ID="grdRubrikKazanimGrup" runat="server" OnItemDataBound="grdRubrikKazanimGrup_OnItemDataBound" CssClass="grdRubrikKazanimGrup"&gt;
        &lt;ItemTemplate&gt;
          &lt;div style="width:96%;display:block;margin-left:5px;"&gt;
            &lt;asp:Label ID="lblAltGrupIliskiID" runat="server" Visible="false" Text='&lt;%# DataBinder.Eval(Container.DataItem, "AltGrupIliskiID")%&gt;'&gt;&lt;/asp:Label&gt;
           &lt;h2&gt;
             &lt;asp:Label ID="lblDegerlendirmeTipi" runat="server" Text=""&gt;&lt;%# DataBinder.Eval(Container.DataItem, "AltGrup")%&gt;&lt;/asp:Label&gt;
           &lt;/h2&gt;
            &lt;asp:DataList ID="grdRubrikKazanimlar" runat="server" OnItemDataBound="grdRubrikKazanimlar_OnItemDataBound" CssClass="grdRubrikKazanimlar" &gt;
          &lt;HeaderTemplate&gt;
          &lt;table style="width:100%;"&gt;
             &lt;tr style="line-height:25px;"&gt;
              &lt;td style="width:70%;text-align:left;padding-left:12px;font-weight:bold;"&gt;Kazanım Açıklaması&lt;/td&gt;
              &lt;td style="width:15%;background-color:#91c98f;text-align:center"&gt;T.Edinilmiş&lt;/td&gt;
              &lt;td style="width:15%;background-color:#bf6f86;text-align:center"&gt;T.Edinilmemiş&lt;/td&gt;
         &lt;/tr&gt;
        &lt;/table&gt;
        &lt;/HeaderTemplate&gt;
         &lt;ItemTemplate&gt;
           &lt;asp:Label ID="lblRubrikKazanimID" runat="server" Text='&lt;%# DataBinder.Eval(Container.DataItem, "RubrikKazanimID")%&gt;' Visible="false"&gt;&lt;/asp:Label&gt;
           &lt;table style="width:100%;" id="tblkazanim"&gt;
           &lt;tr style="height:50px;vertical-align:middle;"&gt;
             &lt;td style="width:70%;text-align:left;padding-left:12px;"&gt;
             &lt;li&gt;
                &lt;asp:Label ID="lblDegerlendirmeTipi" runat="server" Text='&lt;%# DataBinder.Eval(Container.DataItem, "KazanimAciklama")%&gt;'&gt;&lt;/asp:Label&gt;
             &lt;/li&gt;
             &lt;/td&gt;
             &lt;td style="width:15%;background-color:#91c98f;text-align:center;vertical-align:middle;"&gt;
             &lt;asp:CheckBox ID="chkSeciliMi" runat="server" align="center"  CssClass="chsecili"  OnCheckedChanged="chkSeciliMi_CheckChanged" AutoPostBack="true" /&gt;
             &lt;/td&gt;
             &lt;td style="width:15%;background-color:#bf6f86;text-align:center;vertical-align:middle;"&gt;
             &lt;asp:CheckBox ID="chkYarimSeciliMi" runat="server" AutoPostBack="true" OnCheckedChanged="chkYarimSeciliMi_CheckChanged" CssClass="chkYarimSeciliMi"/&gt;
             &lt;/td&gt;
             &lt;/tr&gt;
             &lt;/table&gt;
             &lt;div style="width:96%;display:block;"&gt;
             &lt;asp:Label ID="lblDegTipIliskiID" runat="server" Text="" Visible="false"&gt;&lt;/asp:Label&gt;
                &lt;asp:Label ID="lblDegerlendirmeTipiID" runat="server" Text="" Visible="false"&gt;&lt;/asp:Label&gt;
                &lt;asp:Label ID="lblKazanimDegerlendirmeTipiID" runat="server" Text='&lt;%# DataBinder.Eval(Container.DataItem, "DegTipIliskiID")%&gt;' Visible="false"&gt;&lt;/asp:Label&gt;
               &lt;asp:Label ID="lblKazanimSirasi" runat="server" Text='&lt;%# DataBinder.Eval(Container.DataItem, "Sirasi")%&gt;' Visible="false"&gt;&lt;/asp:Label&gt;
            &lt;/div&gt;
           &lt;/ItemTemplate&gt;
           &lt;/asp:DataList&gt;
  
          &lt;/div&gt;
          &lt;/ItemTemplate&gt;
          &lt;/asp:DataList&gt;
         &lt;/div&gt;
  &lt;/ItemTemplate&gt;
  &lt;/asp:DataList&gt;
  </code></pre>
  
  <p>I want a user only checks a checkbox on a horizontal line. How can I do this using jquery.
  Thanks.</p>