title: how to get element by tags +5th value using selector
body: <pre><code>    &lt;table&gt;
                      &lt;tbody&gt;
  I WANT it =&gt;            &lt;input type="hidden" name="prodCd_8801043014830" id="prodCd_8801043014830" value="8801043014830"&gt;
                          &lt;input type="hidden" name="itemCd_8801043014830" id="itemCd_8801043014830" value="001"&gt;
                          &lt;input type="hidden" name="categoryId_8801043014830" id="categoryId_8801043014830" value="C001001700010001"&gt;
                          &lt;input type="hidden" name="maxQty_8801043014830" id="maxQty_8801043014830" value="20"&gt;
                          &lt;input type="hidden" name="minQty_8801043014830" id="minQty_8801043014830" value="1"&gt;
                          &lt;tr&gt;
                           &lt;-- CONTENTS--&gt;
                          &lt;/tr&gt;
  
  I WANT it       =&gt;      &lt;input type="hidden" name="prodCd_8801043015738" id="prodCd_8801043015738" value="8801043015738"&gt;
                          &lt;input type="hidden" name="itemCd_8801043015738" id="itemCd_8801043015738" value="001"&gt;
                          &lt;input type="hidden" name="categoryId_8801043015738" id="categoryId_8801043015738" value="C001001700010004"&gt;
                          &lt;input type="hidden" name="maxQty_8801043015738" id="maxQty_8801043015738" value="31"&gt;
                          &lt;input type="hidden" name="minQty_8801043015738" id="minQty_8801043015738" value="1"&gt;
                          &lt;tr&gt;
                          &lt;-- CONTENTS--&gt;
                          &lt;/tr&gt;
  </code></pre>
  
  <p>HI I want get elements in first and 1+5n input hidden tags values . there are between hidden tag groups TR tag   and input hidden tags not has container.</p>
  
  <p>i tried 2ways but they returns wrong values except only first value </p>
  
  <pre><code>Document doc=Jsoup.connect("URL").timeout(5000).get();
  a is integer value 
  
  for(int a=0;a&lt;10;a++){
  
  int n = 0+5a 
  
  1.Elements testattrval = 
   doc.select("table tbody input[type=hidden]:eq("+n+")");
  
  2.Elements testattrval = doc.select("table tbody input[type=hidden]:nth-child(+"n+")");
  
  }
  </code></pre>