Table Fiddle

Unwrap

by lakshmikamala

HTML

<table class="demomc">
<thead>
   <tr class="cursor">
      <th>head</th>
   </tr>
   </thead>
   <tbody>
   <tr>
      <td>body</td>
   </tr>
   </tbody>
</table>

JavaScript

var $t = $(".demomc");

$t.find("thead >tr").unwrap("");