<table>
<tr>
<td>1</td>
<td><span>22</span></td>
<td><span><input type="text" id="ipt1"></span></td>
</tr>
<tr>
<td>1</td>
<td><span>22</span></td>
<td><span><input type="text" id="ipt2"></span></td>
</tr>
...
</table>
比如这个#ipt1,要获取它所在的tr,怎么取最方便?用jquery