<tr>
<td><input type='button' size=5 value='删除' onclick="deleteCurrentRow(this)" />
</td>
</tr>
function deleteCurrentRow(obj){
var tr=obj.parentNode.parentNode;
var tbody=tr.parentNode;
if(tbody.rows.length<=1){
closeSpec();
return ;
}
tbody.removeChild(tr);
}