title: jQuery select next occurrence of some element
body: <p>I select some element with <code>.someClass</code> and I want to select next <code>&lt;label&gt;</code> element which occurs lower in the DOM tree.</p>
  
  <p>Between those two elements can be anything else, e.g:</p>
  
  <pre><code>&lt;input class="someClass" /&gt;
  &lt;p&gt;asdfasdf&lt;/p&gt;
  &lt;div&gt;&lt;/div&gt;
  &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;label&gt;SOMETHING&lt;/label&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>My script:</p>
  
  <pre><code> $(".question").each(function (index, value) { 
       vargroupNumber = ++index;
       $(":radio", this)
       .attr("name", "group" + groupNumber)
       .each(function (index, value) {        
           $(this)
           .removeAttr('checked')
           .attr("id", "id" + groupNumber + index)
           .next('label') 
           .‌​attr("for", "id" + groupNumber + index); 
       }); 
   });
  </code></pre>
  
  <p>I want to select and set something to this <code>&lt;label&gt;</code>.</p>