title: Count of selected checkboxes inside a nested repeater
body: <p>I need to find the count of selected checkboxes which are inside a nested repeater in Jquery. My code as follows:</p>
  
  <pre><code>&lt;asp:Repeater runat="server" ID="myRepeater" OnItemDataBound="myRepeaterBinding"&gt;
    &lt;asp:Repeater runat="server" ID="internalRepeater" OnItemDataBound="internalRepeaterBinding"&gt;
      &lt;input class="chkToCompare" type="checkbox" runat="server" id="xxxx" /&gt;
    &lt;/asp:Repeater&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>In my button click i am writing inside a function like:</p>
  
  <pre><code>var boxes = $('#' + '&lt;%= myRepeater.ClientID %&gt;').find($('.chkToCompare'));
  var checkedLength = (boxes.filter(':checked').length);
  alert(checkedLength);
  </code></pre>
  
  <p>But checkedLength is always 0. Can somebody help?</p>
  
  <p>Thanks</p>