title: Loop asp repeater items using jquery
body: <p>Can anyone help on how to loop items in repeater using Jquery. I have this code</p>
  
  <pre><code>&lt;asp:Repeater runat="server" ID="rptData"&gt;
    &lt;HeaderTemplate&gt;
      &lt;div style="border: 1px solid #c4c4c4; width: 98%; font:8px;"&gt;
          &lt;table cellpadding="4px" id="tbValue" width="100%" style="margin:0;"&gt;
              &lt;tr&gt;
                  &lt;td width="30%" style="background-color: #CCC;"&gt;Qty&lt;/td&gt;
                  &lt;td width="60%" style="background-color: #CCC;"&gt;Description&lt;/td&gt;
                  &lt;td width="60%" style="background-color: #CCC;"&gt;ID&lt;/td&gt;
              &lt;/tr&gt;
    &lt;/HeaderTemplate&gt;
    &lt;ItemTemplate&gt;
      &lt;tr style="background: #fff" &lt;%# If(Container.ItemIndex Mod 2=0 , "class='odd'", "") %&gt;&gt;
          &lt;td&gt;
              &lt;asp:TextBox ID="txtQuantity" runat="server" CssClass="textbox" /&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;asp:Label ID="lblDesc" runat="server" Text='&lt;%# Eval("Description")%&gt;' CssClass="LabelInfo" /&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;asp:Label ID="lblId" runat="server" Text='&lt;%# Eval("Kit_ID")%&gt;' /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/ItemTemplate&gt;
    &lt;FooterTemplate&gt;
      &lt;/table&gt;
      &lt;/div&gt;
    &lt;/FooterTemplate&gt;
  &lt;/asp:Repeater&gt;
  &lt;asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="button" Width="150px" style="margin: 1.5em 2em 0 0;" /&gt;
  </code></pre>
  
  <p>What I’m trying to do is, In button click I want to get each txtqty in repeater and check if the value is equal to 10. If equal to 10 – i will get the value of lbldesc, if less than 10 i will get the lblId value</p>
  
  <p>The output should be 
  -Equal tom 10</p>
  
  <pre><code>DESCRIPTION    - QUANTITY
  Itemxxx        – 10 
  Itemwww        – 10 
  
  ID - QUANTITY
  1  – 7 
  2  – 2
  </code></pre>