I am new to javascript/jquery. I have a table that has an index column (0,1,2,3 etc). I would like to delete that part of the table using javascript. I tried to use after() and replaceWith() but couldn't really get it right.
The css class is .jobStats. I would like to ONLY remove contents of th tag in the code below.
<tr>
<th>0 </th>
<td> 2015-06-02</td>
<td> ARCA</td>
<td> FAILED</td>
<td>2015-06-03 10:30:51.573000</td>
<td> NaT</td>
<td> NaT</td>
<td> NaN</td>
<td> NaN</td>
<td> NaN</td>
<td> 8704</td>
<td> 223226518</td>
<td> NaN</td>
<td> NaN</td>
</tr>
Any thoughts on how I can achieve that?
Thanks in advance!