jQuery EACH siblings to EACH variable?
<p>I ahve a jquery code that get the siblings of a table td text.
How can we put that text into variables?</p>

<pre><code>jQuery("tbody tr").each(function() {
    jQuery("td:not(:first)",this).click(function() {
        alert(jQuery(this).siblings().text());
    });
});

&lt;table&gt;
&lt;thead&gt;&lt;td&gt;A&lt;/td&gt;&lt;td&gt;B&lt;/td&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td class="aclass"&gt;A&lt;/td&gt;&lt;td class="bclass"&gt;B&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;

Set siblings as variable:

var txtA = jQuery(this).find(".aclass").text();
var txtA = jQuery(this).find(".aclass").text();
</code></pre>
