jQuery: Get <td>'s html only
<p>i have this code. It returns all the td code including the td /td tags. I want it to only return the content/html of the td</p>

<pre><code>&lt;td&gt;Hey&lt;/td&gt; 
</code></pre>

<p>should give me just</p>

<pre><code>Hey
</code></pre>

<p>&nbsp;</p>

<pre><code>jQuery("#ReportTable", html).each(function (index, tr) {
    arr[index] = jQuery("tbody tr", tr).map(function (index, td) {
        return jQuery(td).html(); 
    });
});
</code></pre>

<p>The jQuery code gives me an array looking like this:</p>

<pre><code>arr[0] = {"&lt;td&gt;1&lt;/td&gt;", "&lt;td&gt;Hey&lt;/td&gt;", "&lt;td&gt;Some data&lt;/td&gt;" } 
arr[1] = {"&lt;td&gt;2&lt;/td&gt;", "&lt;td&gt;There&lt;/td&gt;", "&lt;td&gt;Some other data&lt;/td&gt;" }
</code></pre>

<p>From html looking like this:</p>

<pre><code>&lt;table id="ReportTable"&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Hey&lt;/td&gt;&lt;td&gt;Some data&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;There&lt;/td&gt;&lt;td&gt;Some other data&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
</code></pre>

<p>So the array is good except that i only need the html / text inside the td's. </p>
