html里结构如下:
<tr> <td class="table__cell"> <span>12313</span> </td> <td></td> <td></td> <td class="table__cell"> <div class="table__cell-input"> <button type="button" >参照</button> </div> </td> </tr>
jquery的取法如下:
$(this).parents("tr").find('td:first').children('span').text();
注意span用val()是取不到值的,得用text()或者html()