title: select checkboxes inside div from class name
body: <p>I am new to programming.
  Please help me.</p>
  
  <p>My Html is  like : </p>
  
  <pre><code>&lt;div class = "myclass"&gt; 
      &lt;div&gt;
          &lt;div&gt; 
              &lt;input type="checkbox" id="as" value="11" text="onerr"/&gt;
              &lt;input type="checkbox" id="Checkbox1" value="12" text="twowo"/&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to loop all the checkbox inside the div of class "myclass"</p>
  
  <p>i did  </p>
  
  <pre><code> $(".myclass input[type:checkbox]").each(function (ii) {
  
          //here my code
  
          });
  </code></pre>
  
  <p>but it gives js error</p>
  
  <p>what i did wrong please help me</p>
  
  <p>Thanks in advance.</p>