title: jQuery selector of the element inside the next sibling
body: <p>Can anyone tell me how to select the 'a' within the 'li' from the class 'active_page'?
  I tried the following but it does not work:</p>
  
  <pre><code>if($('.active_page').next('.page_link').length==true){
      go_to_page(new_page);
  }
  
  
  &lt;ul&gt;
      &lt;li&gt;
          &lt;a class="previous_link" href="javascript:go_to_previous();"&gt;Prev&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a class="page_link active_page" href="javascript:go_to_page(0)" longdesc="0"&gt;1&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a class="page_link" href="javascript:go_to_page(1)" longdesc="1"&gt;2&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a class="page_link" href="javascript:go_to_page(2)" longdesc="2"&gt;3&lt;/a&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;a class="next_link" href="javascript:go_to_next();"&gt;Next&lt;/a&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Thanks</p>