title: JQuery Find Next Element Inside Table Row
body: <p>I have this function:</p>
  
  <pre><code>$("span.expandimg").click(function(){
    $(this).nextAll(".toggle_container:first").slideToggle("slow");
  });
  </code></pre>
  
  <p>That worked fine with:</p>
  
  <pre><code>&lt;span class="expandimg"&gt;&lt;a href="#"&gt;&lt;img id="iexpand" src="images/expand.png" border="0" /&gt;&lt;img id="icollapse" src="images/collapse.png" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;a href="asdfa" class="DSF"&gt;First Link&lt;/a&gt;
  
  &lt;div class="toggle_container"&gt;
  Some Text
  &lt;/div&gt;
  </code></pre>
  
  <p>But now I'm putting "expandimg" inside a table column and "toggle_container" inside another column. Something like this:</p>
  
  <pre><code>&lt;tr&gt;
    &lt;td&gt;&lt;span class="expandimg"&gt;......&lt;/td&gt;
    &lt;td&gt;&lt;div class="toggle_container"&gt;.....&lt;/td&gt;
  &lt;tr&gt;
  </code></pre>
  
  <p>How can I find the "toggle_container" element now? I want to click on "expandimg" to expand the "toggle_container", but it's not working with the function I have.</p>
  
  <p>Thanks!</p>