87,910
社区成员
发帖
与我相关
我的任务
分享
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script>
$(function(){
$("#45").click(function(){
$("tr #k" + this.id).remove();
})
})
</script>
<table>
<tr>
<td><span id="k45">xxxxx</span></td>
<td><input type="button" id="45" value="click to remove"></td>
</tr>
</table>