jQuery wrapping of a tr td with jQuery
<p>I'm trying to wrap my table with a new tr and then all the td's inside the wrapping tr.</p>

<p>My code is as follows:</p>

<pre><code>$('.ccbnBgTblTxt td').wrap('&lt;tr class="new"/&gt;');
</code></pre>

<p>What I'm trying to do is.. this</p>

<pre><code>&lt;tr class="new"&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p>Right now I'm getting results like this.</p>

<pre><code>&lt;tr class="new"&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class="new"&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p>Anyway to wrap all the td's?</p>
