Issue when accessing the text of an element
<p>HTML:</p>

<pre><code>&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;wddsa&lt;/td&gt;
    &lt;td&gt;dffs&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>JavaScript:</p>

<pre><code>$('tbody tr').each(function() {
    name2 = $(this).children("td:first").text;
    alert(name2);
});
</code></pre>

<p>Returns a bunch function and jquery code. Possibly from jquery.min. What is wrong here?</p>
