I have a table and I wish to extract the html from a specific row without a specific class.
So for example with the row.
<tr>
<th class='a'></th>
<th class='b'></th>
<th class='c'></th>
<tr>
I would hope to get a result like
<th class='b'></th>
<th class='c'></th>
I've attempted a few variants of
var newTr = $('#table01 tr:nth-child(2) .a').remove().html();
But it's not returning the desired result and it's removing the th's from the original rows(as expected I guess)
Would it be best to use a regex to strip the content out or is there a jQuery selector I can use?